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: [
|
||||
{
|
||||
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
|
||||
# re-enable the following line if we start to get EINTEGRITY errors again
|
||||
# - 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.
|
||||
- run:
|
||||
yarn workspace @theatre/compatibility-tests run install-fixtures
|
||||
--verbose
|
||||
# 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: yarn workspace @theatre/compat-tests run install-fixtures --verbose
|
||||
# after that, we run the jest tests for each fixture
|
||||
- run: yarn test:compat:run
|
||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -23,5 +23,5 @@
|
|||
# compatibility tests
|
||||
.parcel-cache
|
||||
|
||||
/compatibility-tests/*/.yarn
|
||||
/compatibility-tests/*/build
|
||||
/compat-tests/*/.yarn
|
||||
/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,
|
||||
"type": "module",
|
||||
"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
|
||||
*/
|
|
@ -1,6 +1,6 @@
|
|||
/** @type {import('jest').Config} */
|
||||
module.exports = {
|
||||
testMatch: ['<rootDir>/compatibility-tests/fixtures/*/*.compat-test.ts'],
|
||||
testMatch: ['<rootDir>/compat-tests/fixtures/*/*.compat-test.ts'],
|
||||
moduleNameMapper: {},
|
||||
// setupFiles: ['./theatre/shared/src/setupTestEnv.ts'],
|
||||
automock: false,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"packages/*",
|
||||
"examples/*",
|
||||
"theatre",
|
||||
"compatibility-tests"
|
||||
"compat-tests"
|
||||
],
|
||||
"scripts": {
|
||||
"playground": "yarn workspace playground run serve",
|
||||
|
@ -18,7 +18,7 @@
|
|||
"clean": "zx scripts/clean.mjs",
|
||||
"build:ts": "tsc --build ./devEnv/typecheck-all-projects/tsconfig.all.json",
|
||||
"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",
|
||||
"postinstall": "husky install",
|
||||
"release": "zx scripts/release.mjs",
|
||||
|
|
|
@ -9862,9 +9862,9 @@ __metadata:
|
|||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@theatre/compatibility-tests@workspace:compatibility-tests":
|
||||
"@theatre/compat-tests@workspace:compat-tests":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@theatre/compatibility-tests@workspace:compatibility-tests"
|
||||
resolution: "@theatre/compat-tests@workspace:compat-tests"
|
||||
dependencies:
|
||||
"@cspotcode/zx": ^6.1.2
|
||||
node-cleanup: ^2.1.2
|
||||
|
|
Loading…
Reference in a new issue