Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 11a7fcd

Browse files
byronbyronz
authored andcommitted
🔧 minor change in config
1 parent 3661b70 commit 11a7fcd

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

dev-requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
percy
2-
selenium
31
pandas
42
xlrd
5-
flake8
3+
flake8

jest.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = {
7272

7373
// A map from regular expressions to module names that allow to stub out resources with a single module
7474
moduleNameMapper: {
75-
"\\.(css|less)$": "identity-obj-proxy"
75+
"\\.(css|less)$": "identity-obj-proxy"
7676
},
7777

7878
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
@@ -110,14 +110,14 @@ module.exports = {
110110

111111
// A list of paths to directories that Jest should use to search for files in
112112
roots: [
113-
"<rootDir>/test/unit"
113+
"<rootDir>/tests/unit"
114114
],
115115

116116
// Allows you to use a custom runner instead of Jest's default test runner
117117
// runner: "jest-runner",
118118

119119
// The paths to modules that run some code to configure or set up the testing environment before each test
120-
setupFiles: ['<rootDir>/test/setupTests.js'],
120+
setupFiles: ['<rootDir>/tests/setupTests.js'],
121121

122122
// The path to a module that runs some code to configure or set up the testing framework before each test
123123
// setupTestFrameworkScriptFile: null,

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"prepare": "npm run build",
1616
"publish-all": "node scripts/publish.js",
1717
"start": "webpack-serve ./webpack.serve.config.js --open",
18-
"lint": "eslint src test",
19-
"lint:py": "flake8 --ignore=E501,F401,F841,F811 test",
18+
"lint": "eslint src tests",
19+
"lint:py": "flake8 --ignore=E501,F401,F841,F811 tests",
2020
"test": "run-s -c lint lint:py format:test test-unit test:py test:pyimport",
21-
"test:py": "python -m unittest test.test_integration",
22-
"test:pyimport": "python -m unittest test.test_dash_import",
21+
"test:py": "pytest tests/test_integration.py",
22+
"test:pyimport": "pytest tests/test_dash_import.py",
2323
"test-unit": "jest",
24-
"format": "prettier --config .prettierrc --write src/**/*.js test/unit/*.js",
25-
"format:test": "prettier --config .prettierrc src/**/*.js test/unit/*.js --list-different",
24+
"format": "prettier --config .prettierrc --write src/**/*.js tests/unit/*.js",
25+
"format:test": "prettier --config .prettierrc src/**/*.js tests/unit/*.js --list-different",
2626
"uninstall-local": "pip uninstall dash-core-components -y",
2727
"build:js": "webpack --mode production",
2828
"build:py_and_r": "dash-generate-components ./src/components dash_core_components -p package-info.json --r-prefix 'dcc'",

0 commit comments

Comments
 (0)