Skip to content

Commit

Permalink
Merge pull request #401 from webpack-contrib/add/test-395
Browse files Browse the repository at this point in the history
Add tests for empty files
  • Loading branch information
jhnns committed Mar 7, 2017
2 parents f44289b + a17a308 commit dcc432d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/index.test.js
Expand Up @@ -93,6 +93,10 @@ syntaxStyles.forEach(ext => {
data: "$prepended-data: hotpink;"
}));
});
// See https://github.com/webpack-contrib/sass-loader/issues/21
describe("empty files", () => {
it("should compile without errors", () => execTest("empty"));
});
});
});

Expand Down
Empty file added test/sass/empty.sass
Empty file.
Empty file added test/scss/empty.scss
Empty file.

0 comments on commit dcc432d

Please sign in to comment.