Skip to content

Commit

Permalink
Add hopefully final lint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
neild3r committed Nov 22, 2023
1 parent df101ab commit 25cadc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function getCompiler() {
const COMPILER = getCompiler();
const MODERN_COMPILER = COMPILER === 'sass' || COMPILER === 'sass-embedded';

// eslint-disable-next-line import/no-dynamic-require
const sass = require('../index')(require(COMPILER));

const expectedTestsPath = MODERN_COMPILER ? 'expected-sass' : 'expected';
Expand Down Expand Up @@ -556,7 +557,7 @@ describe('gulp-sass -- sync compile', () => {
.pipe(sourcemaps.init())
.pipe(sass.sync())
.pipe(tap((file) => {
assert.ok(file.sourceMap); // look for partial matches since each test runner can have a different absolute path
assert.ok(file.sourceMap); // look for partial matches since each test runner can have a different absolute path
assert.ok(file.sourceMap.sources.every(
(source) => expectedSourcesBefore.find((partial) => source.includes(partial)),
));
Expand Down

0 comments on commit 25cadc4

Please sign in to comment.