-
-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10be1ba
commit 7c21581
Showing
5 changed files
with
44 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106 changes: 2 additions & 104 deletions
106
test/__snapshots__/implementation-option.test.js.no-node-sass.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1,5 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`implementation option 'dart-sass', 'legacy' API: errors 1`] = `[]`; | ||
exports[`implementation option not specify with node-sass: errors 1`] = `[]`; | ||
|
||
exports[`implementation option 'dart-sass', 'legacy' API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option 'dart-sass', 'modern' API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option 'dart-sass', 'modern' API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option 'dart-sass', 'modern-compiler' API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option 'dart-sass', 'modern-compiler' API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option 'sass_string', 'legacy' API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option 'sass_string', 'legacy' API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option 'sass-embedded', 'legacy' API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option 'sass-embedded', 'legacy' API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option 'sass-embedded', 'modern' API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option 'sass-embedded', 'modern' API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option 'sass-embedded', 'modern-compiler' API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option 'sass-embedded', 'modern-compiler' API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option not specify with legacy API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option not specify with legacy API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option not specify with modern API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option not specify with modern API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option not specify with modern-compiler API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option not specify with modern-compiler API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option not specify: errors 1`] = `[]`; | ||
|
||
exports[`implementation option not specify: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option should not swallow an error when trying to load a sass implementation: errors 1`] = ` | ||
[ | ||
"ModuleBuildError: Module build failed (from ../src/cjs.js): | ||
Some error sass-embedded", | ||
] | ||
`; | ||
|
||
exports[`implementation option should not swallow an error when trying to load a sass implementation: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option should support switching the implementation within the same process when using the modern-compiler API: errors 1`] = `[]`; | ||
|
||
exports[`implementation option should support switching the implementation within the same process when using the modern-compiler API: errors 2`] = `[]`; | ||
|
||
exports[`implementation option should support switching the implementation within the same process when using the modern-compiler API: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option should support switching the implementation within the same process when using the modern-compiler API: warnings 2`] = `[]`; | ||
|
||
exports[`implementation option should throw an error on an unknown sass implementation: errors 1`] = ` | ||
[ | ||
"ModuleBuildError: Module build failed (from ../src/cjs.js): | ||
Error: Unknown Sass implementation "strange-sass".", | ||
] | ||
`; | ||
|
||
exports[`implementation option should throw an error on an unknown sass implementation: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option should throw an error when the "info" is unparseable: errors 1`] = ` | ||
[ | ||
"ModuleBuildError: Module build failed (from ../src/cjs.js): | ||
Error: Unknown Sass implementation "asdfj".", | ||
] | ||
`; | ||
|
||
exports[`implementation option should throw an error when the "info" is unparseable: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option should throw error when the "info" does not exist: errors 1`] = ` | ||
[ | ||
"ModuleBuildError: Module build failed (from ../src/cjs.js): | ||
Error: Unknown Sass implementation.", | ||
] | ||
`; | ||
|
||
exports[`implementation option should throw error when the "info" does not exist: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option should throw error when unresolved package: errors 1`] = ` | ||
[ | ||
"ModuleBuildError: Module build failed (from ../src/cjs.js): | ||
Error: Cannot find module 'unresolved' from 'src/utils.js'", | ||
] | ||
`; | ||
|
||
exports[`implementation option should throw error when unresolved package: warnings 1`] = `[]`; | ||
|
||
exports[`implementation option should try to load using valid order: errors 1`] = ` | ||
[ | ||
"ModuleBuildError: Module build failed (from ../src/cjs.js): | ||
Some error sass-embedded", | ||
] | ||
`; | ||
|
||
exports[`implementation option should try to load using valid order: warnings 1`] = `[]`; | ||
exports[`implementation option not specify with node-sass: warnings 1`] = `[]`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters