Skip to content

Commit 928bd80

Browse files
committed
Dependency management: Fix stryker and postcss warnings, update to newest postcss version.
1 parent 3108d15 commit 928bd80

4 files changed

Lines changed: 14 additions & 48 deletions

File tree

package-lock.json

Lines changed: 9 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"dependencies": {
2727
"deep-get-set": "^1.1.0",
2828
"kind-of": "^6.0.2",
29-
"postcss": "^7.0.7"
29+
"postcss": "^7.0.14"
3030
},
3131
"devDependencies": {
3232
"coveralls": "^3.0.2",

stryker.conf.js

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
module.exports = function(config) {
22
config.set({
3-
files: [
4-
{
5-
pattern: "index.js",
6-
mutated: true,
7-
included: false
8-
},
9-
"package.json",
10-
"test/fixtures/*.css",
11-
"test/**/*.js"
3+
mutate: [
4+
"index.js"
125
],
136
testRunner: "jest",
147
mutator: "javascript",
158
transpilers: [],
16-
reporter: ["clear-text", "progress"],
9+
reporters: ["clear-text", "progress"],
1710
coverageAnalysis: "all"
1811
});
1912
};

test/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function run(input, opts = {}) {
1515
const raw = fs.readFileSync(`./test/fixtures/${input}.css`, 'utf8');
1616
const expected = fs.readFileSync(`./test/fixtures/${input}.expected.css`, 'utf8');
1717

18-
return postcss([plugin(opts)]).process(raw)
18+
return postcss([plugin(opts)]).process(raw, { from: undefined })
1919
.then(result => {
2020
expect(result.css).toEqual(expected);
2121
expect(result.warnings().length).toBe(0);

0 commit comments

Comments
 (0)