Skip to content

Commit 09de43e

Browse files
hiroppyevilebottnawi
authored andcommitted
chore(jest): rename jest.config.json to jest.config.js (#1730)
1 parent aa7de77 commit 09de43e

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

jest.config.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
'use strict';
2+
3+
module.exports = {
4+
testURL: 'http://localhost/',
5+
collectCoverage: true,
6+
coveragePathIgnorePatterns: ['test'],
7+
moduleFileExtensions: ['js', 'json'],
8+
testMatch: ['**/test/**/*.test.js'],
9+
setupFilesAfterEnv: ['<rootDir>/setupTest.js'],
10+
};

jest.config.json

-8
This file was deleted.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"lint": "eslint bin lib test examples client-src",
1818
"pretty": "prettier --loglevel warn --write \"**/*.{js,css,md,json,yml}\"",
19-
"test": "jest --config jest.config.json --runInBand",
19+
"test": "jest --runInBand",
2020
"prepare": "rimraf ./ssl/*.pem && npm run -s transpile:index && npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
2121
"transpile:index": "babel client-src/default --out-dir client --ignore *.config.js",
2222
"build:index": "webpack ./client-src/default/index.js -o client/index.bundle.js --color --config client-src/default/webpack.config.js",

0 commit comments

Comments
 (0)