|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`implementation option 'dart-sass', 'legacy' API: errors 1`] = `Array []`; |
| 3 | +exports[`implementation option 'dart-sass', 'legacy' API: errors 1`] = `[]`; |
4 | 4 |
|
5 | | -exports[`implementation option 'dart-sass', 'legacy' API: warnings 1`] = `Array []`; |
| 5 | +exports[`implementation option 'dart-sass', 'legacy' API: warnings 1`] = `[]`; |
6 | 6 |
|
7 | | -exports[`implementation option 'dart-sass', 'modern' API: errors 1`] = `Array []`; |
| 7 | +exports[`implementation option 'dart-sass', 'modern' API: errors 1`] = `[]`; |
8 | 8 |
|
9 | | -exports[`implementation option 'dart-sass', 'modern' API: warnings 1`] = `Array []`; |
| 9 | +exports[`implementation option 'dart-sass', 'modern' API: warnings 1`] = `[]`; |
10 | 10 |
|
11 | | -exports[`implementation option 'node-sass', 'legacy' API: errors 1`] = `Array []`; |
| 11 | +exports[`implementation option 'node-sass', 'legacy' API: errors 1`] = `[]`; |
12 | 12 |
|
13 | | -exports[`implementation option 'node-sass', 'legacy' API: warnings 1`] = `Array []`; |
| 13 | +exports[`implementation option 'node-sass', 'legacy' API: warnings 1`] = `[]`; |
14 | 14 |
|
15 | | -exports[`implementation option 'sass_string', 'legacy' API: errors 1`] = `Array []`; |
| 15 | +exports[`implementation option 'sass_string', 'legacy' API: errors 1`] = `[]`; |
16 | 16 |
|
17 | | -exports[`implementation option 'sass_string', 'legacy' API: warnings 1`] = `Array []`; |
| 17 | +exports[`implementation option 'sass_string', 'legacy' API: warnings 1`] = `[]`; |
18 | 18 |
|
19 | | -exports[`implementation option 'sass-embedded', 'legacy' API: errors 1`] = `Array []`; |
| 19 | +exports[`implementation option 'sass-embedded', 'legacy' API: errors 1`] = `[]`; |
20 | 20 |
|
21 | | -exports[`implementation option 'sass-embedded', 'legacy' API: warnings 1`] = `Array []`; |
| 21 | +exports[`implementation option 'sass-embedded', 'legacy' API: warnings 1`] = `[]`; |
22 | 22 |
|
23 | | -exports[`implementation option 'sass-embedded', 'modern' API: errors 1`] = `Array []`; |
| 23 | +exports[`implementation option 'sass-embedded', 'modern' API: errors 1`] = `[]`; |
24 | 24 |
|
25 | | -exports[`implementation option 'sass-embedded', 'modern' API: warnings 1`] = `Array []`; |
| 25 | +exports[`implementation option 'sass-embedded', 'modern' API: warnings 1`] = `[]`; |
26 | 26 |
|
27 | | -exports[`implementation option not specify with legacy API: errors 1`] = `Array []`; |
| 27 | +exports[`implementation option not specify with legacy API: errors 1`] = `[]`; |
28 | 28 |
|
29 | | -exports[`implementation option not specify with legacy API: warnings 1`] = `Array []`; |
| 29 | +exports[`implementation option not specify with legacy API: warnings 1`] = `[]`; |
30 | 30 |
|
31 | | -exports[`implementation option not specify with modern API: errors 1`] = `Array []`; |
| 31 | +exports[`implementation option not specify with modern API: errors 1`] = `[]`; |
32 | 32 |
|
33 | | -exports[`implementation option not specify with modern API: warnings 1`] = `Array []`; |
| 33 | +exports[`implementation option not specify with modern API: warnings 1`] = `[]`; |
34 | 34 |
|
35 | | -exports[`implementation option not specify: errors 1`] = `Array []`; |
| 35 | +exports[`implementation option not specify: errors 1`] = `[]`; |
36 | 36 |
|
37 | | -exports[`implementation option not specify: warnings 1`] = `Array []`; |
| 37 | +exports[`implementation option not specify: warnings 1`] = `[]`; |
38 | 38 |
|
39 | 39 | exports[`implementation option should not swallow an error when trying to load a sass implementation: errors 1`] = ` |
40 | | -Array [ |
| 40 | +[ |
41 | 41 | "ModuleError: Module Error (from ../src/cjs.js): |
42 | 42 | Some error", |
43 | 43 | ] |
44 | 44 | `; |
45 | 45 |
|
46 | | -exports[`implementation option should not swallow an error when trying to load a sass implementation: warnings 1`] = `Array []`; |
| 46 | +exports[`implementation option should not swallow an error when trying to load a sass implementation: warnings 1`] = `[]`; |
47 | 47 |
|
48 | 48 | exports[`implementation option should throw an error on an unknown sass implementation: errors 1`] = ` |
49 | | -Array [ |
| 49 | +[ |
50 | 50 | "ModuleError: Module Error (from ../src/cjs.js): |
51 | | -Unknown Sass implementation \\"strange-sass\\".", |
| 51 | +Unknown Sass implementation "strange-sass".", |
52 | 52 | ] |
53 | 53 | `; |
54 | 54 |
|
55 | | -exports[`implementation option should throw an error on an unknown sass implementation: warnings 1`] = `Array []`; |
| 55 | +exports[`implementation option should throw an error on an unknown sass implementation: warnings 1`] = `[]`; |
56 | 56 |
|
57 | 57 | exports[`implementation option should throw an error when the "info" is unparseable: errors 1`] = ` |
58 | | -Array [ |
| 58 | +[ |
59 | 59 | "ModuleError: Module Error (from ../src/cjs.js): |
60 | | -Unknown Sass implementation \\"asdfj\\".", |
| 60 | +Unknown Sass implementation "asdfj".", |
61 | 61 | ] |
62 | 62 | `; |
63 | 63 |
|
64 | | -exports[`implementation option should throw an error when the "info" is unparseable: warnings 1`] = `Array []`; |
| 64 | +exports[`implementation option should throw an error when the "info" is unparseable: warnings 1`] = `[]`; |
65 | 65 |
|
66 | 66 | exports[`implementation option should throw error when the "info" does not exist: errors 1`] = ` |
67 | | -Array [ |
| 67 | +[ |
68 | 68 | "ModuleError: Module Error (from ../src/cjs.js): |
69 | 69 | Unknown Sass implementation.", |
70 | 70 | ] |
71 | 71 | `; |
72 | 72 |
|
73 | | -exports[`implementation option should throw error when the "info" does not exist: warnings 1`] = `Array []`; |
| 73 | +exports[`implementation option should throw error when the "info" does not exist: warnings 1`] = `[]`; |
74 | 74 |
|
75 | 75 | exports[`implementation option should throw error when unresolved package: errors 1`] = ` |
76 | | -Array [ |
| 76 | +[ |
77 | 77 | "ModuleError: Module Error (from ../src/cjs.js): |
78 | 78 | Cannot find module 'unresolved' from 'src/utils.js'", |
79 | 79 | ] |
80 | 80 | `; |
81 | 81 |
|
82 | | -exports[`implementation option should throw error when unresolved package: warnings 1`] = `Array []`; |
| 82 | +exports[`implementation option should throw error when unresolved package: warnings 1`] = `[]`; |
83 | 83 |
|
84 | 84 | exports[`implementation option should try to load using valid order: errors 1`] = ` |
85 | | -Array [ |
| 85 | +[ |
86 | 86 | "ModuleError: Module Error (from ../src/cjs.js): |
87 | 87 | Some error sass", |
88 | 88 | ] |
89 | 89 | `; |
90 | 90 |
|
91 | | -exports[`implementation option should try to load using valid order: warnings 1`] = `Array []`; |
| 91 | +exports[`implementation option should try to load using valid order: warnings 1`] = `[]`; |
0 commit comments