test(components): add component tests, use ts for e2e tests

This commit is contained in:
moklick
2022-08-22 18:23:38 +02:00
parent 7b8b368572
commit 438a318d8f
21 changed files with 243 additions and 112 deletions

View File

@@ -15,8 +15,8 @@
"build": "preconstruct build && yarn run packages",
"packages": "yarn workspaces foreach --include '@react-flow/**' run build",
"test:all": "yarn test:chrome && yarn test:firefox",
"test:chrome": "cypress run --browser chrome",
"test:firefox": "cypress run --browser firefox",
"test:chrome": "cd examples/nextjs && cypress run --browser chrome",
"test:firefox": "cd examples/nextjs && cypress run --browser firefox",
"test": "yarn build && start-server-and-test dev:example http://localhost:3000 test:chrome",
"release": "changeset publish"
},