Skip to content

Commit 200cd98

Browse files
committed
Added Travis CI
1 parent 4ead37a commit 200cd98

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
sudo: false
2+
language: node_js
3+
4+
node_js:
5+
- "node"
6+
script: npm test

spec/helpers/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const customMatchers = {
169169
return {
170170
pass: false,
171171
message: `Expected output file '${expected.file}' ` +
172-
`to contain:\n` + expectedPart
172+
`to contain:\n` + expectedPart + ". But it contains:\n" + fileContent
173173
}
174174
}
175175
}

spec/sass-loader-interop-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe("Running CssEntryPlugin and SassLoader for scss files", () => {
6969
expect(this.webpack).toOutput({
7070
file: "main.bundle.css.map",
7171
withContent: [
72-
"fixtures/styles/style1.scss",
72+
"styles/style1.scss",
7373
"@extend"
7474
]
7575
});

0 commit comments

Comments
 (0)