Skip to content

Commit 70c8c68

Browse files
committed
(refactor): rename tests -> e2e, integration-tests -> integration
- change testDir in tests to the new names - reword docs and scripts so they handle this properly (refactor): interpolate directory in the lint tests - DRY up so don't have to change all these lines when the path is a constant
1 parent 1e690b5 commit 70c8c68

42 files changed

Lines changed: 16 additions & 14 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"prepare": "tsc -p tsconfig.json",
2525
"build": "tsc -p tsconfig.json",
2626
"lint": "yarn build && yarn lint:post-build",
27-
"lint:post-build": "node dist/index.js lint src test --ignore-pattern 'test/tests/lint'",
27+
"lint:post-build": "node dist/index.js lint src test --ignore-pattern 'test/e2e/lint'",
2828
"test": "yarn build && yarn test:post-build",
2929
"test:post-build": "node dist/index.js test",
3030
"start": "tsc -p tsconfig.json --watch",

test/README.md

Lines changed: 2 additions & 2 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/tests/fixtures/build-default/src/syntax/jsx-import/JSX-A.jsx renamed to test/e2e/fixtures/build-default/src/syntax/jsx-import/JSX-A.jsx

File renamed without changes.

test/tests/fixtures/build-default/src/syntax/jsx-import/JSX-B.jsx renamed to test/e2e/fixtures/build-default/src/syntax/jsx-import/JSX-B.jsx

File renamed without changes.

test/tests/fixtures/build-default/src/syntax/jsx-import/JSX-import-JSX.jsx renamed to test/e2e/fixtures/build-default/src/syntax/jsx-import/JSX-import-JSX.jsx

File renamed without changes.

0 commit comments

Comments
 (0)