Skip to content

Commit 554056b

Browse files
committed
✅ Fix tests
1 parent 433b57c commit 554056b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ describe('cli', function () {
242242
// Test default config files
243243

244244
it('should return JSON from .sass-lint.yml', function (done) {
245-
var command = 'sass-lint ../../cli/cli.scss --verbose';
245+
var command = 'node ../../../bin/sass-lint ../../cli/cli.scss --verbose';
246246

247247
exec(command, { cwd: path.join(__dirname, 'yml', '.sass-lint.yml') }, function (err, stdout) {
248248

@@ -262,7 +262,7 @@ describe('cli', function () {
262262
});
263263

264264
it('should return JSON from .sasslintrc', function (done) {
265-
var command = 'sass-lint ../../cli/cli.scss -c ".sasslintrc" --verbose';
265+
var command = 'node ../../../bin/sass-lint ../../cli/cli.scss -c ".sasslintrc" --verbose';
266266

267267
exec(command, { cwd: path.join(__dirname, 'yml', '.sasslintrc') }, function (err, stdout) {
268268
if (err) {

0 commit comments

Comments
 (0)