Skip to content

Commit

Permalink
Remove legacy references to test projects (keystonejs#5185)
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie authored Mar 23, 2021
1 parent 25b4533 commit 5378eee
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 43 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ node_modules
coverage
dist
reports
tests/test-projects/**/cypress
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package.json
packages/icons/icons/*
reports
coverage
packages/test-project/public
.changeset/**/*
**/dist
**/.next
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"prisma": "prisma",
"docs-next": "manypkg run @keystone-next/website dev",
"coverage": "cross-env DISABLE_LOGGING=true NODE_ENV=test jest --maxWorkers=1 --coverage",
"cypress:run": "status=0; yarn workspace @keystone-next/cypress-project-twitter-login-legacy run cypress:run || status=$?; exit $status",
"cypress:open": "status=0; yarn workspace @keystone-next/cypress-project-twitter-login-legacy run cypress:open || status=$?; exit $status",
"format:file": "prettier --write",
"format": "prettier --write \"**/*.{js,json,ts,tsx,md,mdx}\" && remark . --output",
"fresh": "yarn clean && yarn",
Expand All @@ -22,7 +20,7 @@
"lint:markdown": "remark . --frail --quiet",
"lint:types": "tsc",
"lint": "yarn lint:prettier && yarn lint:eslint && yarn lint:markdown && yarn lint:types",
"test": "yarn lint && yarn test:unit && yarn cypress:run",
"test": "yarn lint && yarn test:unit",
"test:unit": "cross-env DISABLE_LOGGING=true NODE_ENV=test jest --no-watchman --maxWorkers=1 --logHeapUsage",
"test:unit:debug": "cross-env NODE_ENV=test node --inspect-brk `which jest` --runInBand",
"benchmark": "yarn workspace @keystone-next/benchmarks-legacy go",
Expand Down Expand Up @@ -102,7 +100,6 @@
"workspaces": {
"packages": [
"packages/*",
"tests/test-projects/*",
"tests/api-tests",
"tests/benchmarks",
"tests/examples-smoke-tests",
Expand Down
1 change: 0 additions & 1 deletion tests/api-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
Keystone, as a system, can be summarised as `schema => ({ api, adminUI })`.
This directory contains system level test to ensure that `schema => ({ api })` behaves as expected.
These system level tests should be considered complimentary to the unit tests contained in each package.
Tests for `schema => ({ adminUI })` can be found in the `test-projects` directory.
25 changes: 0 additions & 25 deletions tests/test-projects/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions tests/test-projects/package.json

This file was deleted.

0 comments on commit 5378eee

Please sign in to comment.