Skip to content

Commit 737138c

Browse files
test: update
1 parent 23e2040 commit 737138c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/loader.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ describe("loader", () => {
4141
const { name: implementationName, api, implementation } = item;
4242
// TODO fix me https://github.com/webpack-contrib/sass-loader/issues/774
4343
const isSassEmbedded = implementationName === "sass-embedded";
44+
const isNodeSass = implementationName === "node-sass";
4445
const isModernAPI = api === "modern";
4546

4647
syntaxStyles.forEach((syntax) => {
@@ -687,7 +688,7 @@ describe("loader", () => {
687688
});
688689
}
689690

690-
if (!isModernAPI) {
691+
if (!isModernAPI && !isNodeSass) {
691692
it(`should work with the "bootstrap-sass" package, directly import ('${implementationName}', '${api}' API, '${syntax}' syntax)`, async () => {
692693
const testId = getTestId("bootstrap-sass", syntax);
693694
const options = {
@@ -706,7 +707,7 @@ describe("loader", () => {
706707
});
707708
}
708709

709-
if (!isModernAPI) {
710+
if (!isModernAPI && !isNodeSass) {
710711
it(`should work with the "bootstrap-sass" package, import as a package ('${implementationName}', '${api}' API, '${syntax}' syntax)`, async () => {
711712
const testId = getTestId("bootstrap-sass-package", syntax);
712713
const options = {

0 commit comments

Comments
 (0)