refactor: move test utils to package (#3206)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-07-13 09:05:01 +00:00
1 parent 4f5ed30298
commit 0230cea16e
61 files changed
+199 -551

No files matched your search

+2 -3
View File
@@ -11,7 +11,8 @@
"packages/*",
"tests/fixtures",
"tests/kit",
"tests/affine-legacy/*"
"tests/affine-legacy/*",
"tests/affine-local"
],
"engines": {
"node": ">=18.16.1 <19.0.0"
@@ -35,8 +36,6 @@
"lint:prettier:fix": "prettier --ignore-unknown --cache --write .",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:fix": "yarn lint:eslint:fix && yarn lint:prettier:fix",
"e2e": "playwright test",
"e2e:coverage": "COVERAGE=true yarn e2e --forbid-only",
"test": "ENABLE_PRELOADING=false vitest --run",
"test:ui": "ENABLE_PRELOADING=false vitest --ui",
"test:coverage": "ENABLE_PRELOADING=false vitest run --coverage",