Rename compatibility-tests
to compat-tests
This commit is contained in:
parent
f2a25aa48e
commit
bc7fcf8e0a
48 changed files with 12 additions and 14 deletions
|
@ -40,7 +40,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
ignorePatterns: ['*.d.ts', '*.ignore.ts', 'compatibility-tests/*'],
|
ignorePatterns: ['*.d.ts', '*.ignore.ts', 'compat-tests/*'],
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
files: ['*.ts', '*.tsx'],
|
files: ['*.ts', '*.tsx'],
|
||||||
|
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -111,9 +111,7 @@ jobs:
|
||||||
- uses: ./.github/actions/yarn-nm-install
|
- uses: ./.github/actions/yarn-nm-install
|
||||||
# re-enable the following line if we start to get EINTEGRITY errors again
|
# re-enable the following line if we start to get EINTEGRITY errors again
|
||||||
# - run: npm cache clean || npm cache verify
|
# - run: npm cache clean || npm cache verify
|
||||||
# This will test whether `npm install`/`yarn install` can actually run on each compatibility test fixture. See `compatibility-tests/README.md` for more info.
|
# This will test whether `npm install`/`yarn install` can actually run on each compatibility test fixture. See `compat-tests/README.md` for more info.
|
||||||
- run:
|
- run: yarn workspace @theatre/compat-tests run install-fixtures --verbose
|
||||||
yarn workspace @theatre/compatibility-tests run install-fixtures
|
|
||||||
--verbose
|
|
||||||
# after that, we run the jest tests for each fixture
|
# after that, we run the jest tests for each fixture
|
||||||
- run: yarn test:compat:run
|
- run: yarn test:compat:run
|
||||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -23,5 +23,5 @@
|
||||||
# compatibility tests
|
# compatibility tests
|
||||||
.parcel-cache
|
.parcel-cache
|
||||||
|
|
||||||
/compatibility-tests/*/.yarn
|
/compat-tests/*/.yarn
|
||||||
/compatibility-tests/*/build
|
/compat-tests/*/build
|
||||||
|
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@theatre/compatibility-tests",
|
"name": "@theatre/compat-tests",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
|
@ -324,7 +324,7 @@ async function releaseToVerdaccio() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get all the setups from `./compatibility-tests/`
|
* Get all the setups from `./compat-tests/`
|
||||||
*
|
*
|
||||||
* @returns {Promise<Array<string>>} An array containing the absolute paths to the compatibility test setups
|
* @returns {Promise<Array<string>>} An array containing the absolute paths to the compatibility test setups
|
||||||
*/
|
*/
|
|
@ -1,6 +1,6 @@
|
||||||
/** @type {import('jest').Config} */
|
/** @type {import('jest').Config} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
testMatch: ['<rootDir>/compatibility-tests/fixtures/*/*.compat-test.ts'],
|
testMatch: ['<rootDir>/compat-tests/fixtures/*/*.compat-test.ts'],
|
||||||
moduleNameMapper: {},
|
moduleNameMapper: {},
|
||||||
// setupFiles: ['./theatre/shared/src/setupTestEnv.ts'],
|
// setupFiles: ['./theatre/shared/src/setupTestEnv.ts'],
|
||||||
automock: false,
|
automock: false,
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"packages/*",
|
"packages/*",
|
||||||
"examples/*",
|
"examples/*",
|
||||||
"theatre",
|
"theatre",
|
||||||
"compatibility-tests"
|
"compat-tests"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"playground": "yarn workspace playground run serve",
|
"playground": "yarn workspace playground run serve",
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
"clean": "zx scripts/clean.mjs",
|
"clean": "zx scripts/clean.mjs",
|
||||||
"build:ts": "tsc --build ./devEnv/typecheck-all-projects/tsconfig.all.json",
|
"build:ts": "tsc --build ./devEnv/typecheck-all-projects/tsconfig.all.json",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:compat:install": "yarn workspace @theatre/compatibility-tests run install-fixtures",
|
"test:compat:install": "yarn workspace @theatre/compat-tests run install-fixtures",
|
||||||
"test:compat:run": "jest --config jest.compat-tests.config.js",
|
"test:compat:run": "jest --config jest.compat-tests.config.js",
|
||||||
"postinstall": "husky install",
|
"postinstall": "husky install",
|
||||||
"release": "zx scripts/release.mjs",
|
"release": "zx scripts/release.mjs",
|
||||||
|
|
|
@ -9862,9 +9862,9 @@ __metadata:
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@theatre/compatibility-tests@workspace:compatibility-tests":
|
"@theatre/compat-tests@workspace:compat-tests":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@theatre/compatibility-tests@workspace:compatibility-tests"
|
resolution: "@theatre/compat-tests@workspace:compat-tests"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cspotcode/zx": ^6.1.2
|
"@cspotcode/zx": ^6.1.2
|
||||||
node-cleanup: ^2.1.2
|
node-cleanup: ^2.1.2
|
||||||
|
|
Loading…
Reference in a new issue