Skip to content

Commit 8c9df13

Browse files
committed
changed folder structure in test/.
1 parent 08739a9 commit 8c9df13

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"browser": "dist/browser-ponyfill.js",
88
"typings": "index.d.ts",
99
"scripts": {
10-
"pretest:node:bundle": "webpack-cli --progress --config test/webpack-node/webpack.config.js",
10+
"pretest:node:bundle": "webpack-cli --progress --config test/node-webpacked/webpack.config.js",
1111
"build": "rollup -c",
1212
"codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
1313
"deploy:major": "npm version major && git push --follow-tags",
@@ -19,8 +19,8 @@
1919
"test": "npm run -s test:headless && npm run -s test:node && npm run -s test:node:bundle && npm run -s lint",
2020
"test:browser": "opn test/browser/index.html",
2121
"test:headless": "mocha-headless-chrome -f test/browser/index.html -a no-sandbox -a disable-setuid-sandbox",
22-
"test:node:bundle": "nyc mocha test/webpack-node/index.js",
23-
"test:node": "nyc mocha test/node/index.js"
22+
"test:node:bundle": "nyc mocha test/node-webpacked/index.js",
23+
"test:node": "nyc mocha test/node-plain/index.js"
2424
},
2525
"lint-staged": {
2626
"*.js": [
@@ -45,7 +45,7 @@
4545
],
4646
"ignore": [
4747
"/dist/",
48-
"test/webpack-node/index.js"
48+
"test/node-webpacked/index.js"
4949
]
5050
},
5151
"nyc": {
File renamed without changes.

test/webpack-node/index.js renamed to test/node-webpacked/index.js

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

test/webpack-node/webpack.config.js renamed to test/node-webpacked/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const webpack = require('webpack')
44
module.exports = {
55
target: 'node',
66
mode: 'development',
7-
entry: path.join(__dirname, '..', 'node', 'index.js'),
7+
entry: path.join(__dirname, '..', 'node-plain', 'index.js'),
88
output: {
99
path: __dirname,
1010
filename: 'index.js'

0 commit comments

Comments
 (0)