Skip to content

Commit

Permalink
chore(jest): rename jest.config.json to jest.config.js (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy authored and evilebottnawi committed Mar 21, 2019
1 parent aa7de77 commit 09de43e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
10 changes: 10 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use strict';

module.exports = {
testURL: 'http://localhost/',
collectCoverage: true,
coveragePathIgnorePatterns: ['test'],
moduleFileExtensions: ['js', 'json'],
testMatch: ['**/test/**/*.test.js'],
setupFilesAfterEnv: ['<rootDir>/setupTest.js'],
};
8 changes: 0 additions & 8 deletions jest.config.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"lint": "eslint bin lib test examples client-src",
"pretty": "prettier --loglevel warn --write \"**/*.{js,css,md,json,yml}\"",
"test": "jest --config jest.config.json --runInBand",
"test": "jest --runInBand",
"prepare": "rimraf ./ssl/*.pem && npm run -s transpile:index && npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
"transpile:index": "babel client-src/default --out-dir client --ignore *.config.js",
"build:index": "webpack ./client-src/default/index.js -o client/index.bundle.js --color --config client-src/default/webpack.config.js",
Expand Down

0 comments on commit 09de43e

Please sign in to comment.