Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Commit 3d16715

Browse files
hulkishjoshwiens
authored andcommitted
test: add && backport tests from webpack core (#62)
* fix(package): mv uglify2 to `dependencies` && update `peerDependencies` (#45) * refactor: apply to `webpack-defaults` * chore(package): update `webpack-defaults v1.0.1...1.4.0` * chore: rm `yarn.lock` * ported uglifyjs unit tests from webpack core repo
1 parent f6c5aa9 commit 3d16715

17 files changed

+1730
-449
lines changed

.babelrc

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"useBuiltIns": true,
77
"targets": {
8-
"node": 4.3
8+
"node": "4.3"
99
},
1010
"exclude": [
1111
"transform-async-to-generator",
@@ -17,13 +17,19 @@
1717
"plugins": [
1818
[
1919
"transform-object-rest-spread",
20-
{ "useBuiltIns": true }
20+
{
21+
"useBuiltIns": true
22+
}
2123
]
2224
],
2325
"env": {
2426
"test": {
25-
"presets": ["env"],
26-
"plugins": ["transform-object-rest-spread"]
27+
"presets": [
28+
"env"
29+
],
30+
"plugins": [
31+
"transform-object-rest-spread"
32+
]
2733
}
2834
}
29-
}
35+
}

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
*.snap
12
/node_modules
23
/dist
34
/examples/build
5+
/coverage/
6+
/test/stubs

codecov.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
codecov:
2+
branch: master
3+
coverage:
4+
precision: 2
5+
round: down
6+
range: "70...100"
7+
status:
8+
project:
9+
default:
10+
target: auto
11+
patch:
12+
default:
13+
target: auto
14+
changes:
15+
default:
16+
branches: null
17+
comment: off

0 commit comments

Comments
 (0)