Skip to content

Commit

Permalink
Increase timeout for long running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeddy3 committed Apr 1, 2018
1 parent 55ab24d commit f60ab68
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
24 changes: 14 additions & 10 deletions system-tests/001/001.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
const stylelint = require("../../lib");
const systemTestUtils = require("../systemTestUtils");

it("001", () => {
return stylelint
.lint({
files: [systemTestUtils.caseStylesheetGlob("001")],
configFile: systemTestUtils.caseConfig("001")
})
.then(output => {
expect(systemTestUtils.prepResults(output.results)).toMatchSnapshot();
});
});
it(
"001",
() => {
return stylelint
.lint({
files: [systemTestUtils.caseStylesheetGlob("001")],
configFile: systemTestUtils.caseConfig("001")
})
.then(output => {
expect(systemTestUtils.prepResults(output.results)).toMatchSnapshot();
});
},
10000
);
24 changes: 14 additions & 10 deletions system-tests/005/005.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
const stylelint = require("../../lib");
const systemTestUtils = require("../systemTestUtils");

it("005", () => {
return stylelint
.lint({
files: [systemTestUtils.caseStylesheetGlob("005")],
configFile: systemTestUtils.caseConfig("005")
})
.then(output => {
expect(systemTestUtils.prepResults(output.results)).toMatchSnapshot();
});
});
it(
"005",
() => {
return stylelint
.lint({
files: [systemTestUtils.caseStylesheetGlob("005")],
configFile: systemTestUtils.caseConfig("005")
})
.then(output => {
expect(systemTestUtils.prepResults(output.results)).toMatchSnapshot();
});
},
10000
);

0 comments on commit f60ab68

Please sign in to comment.