diff --git a/tests/cypress.json b/e2e/cypress.json similarity index 100% rename from tests/cypress.json rename to e2e/cypress.json diff --git a/tests/cypress/integration/1-store/setElements.spec.ts b/e2e/cypress/integration/1-store/setElements.spec.ts similarity index 100% rename from tests/cypress/integration/1-store/setElements.spec.ts rename to e2e/cypress/integration/1-store/setElements.spec.ts diff --git a/tests/cypress/integration/1-store/setState.spec.ts b/e2e/cypress/integration/1-store/setState.spec.ts similarity index 100% rename from tests/cypress/integration/1-store/setState.spec.ts rename to e2e/cypress/integration/1-store/setState.spec.ts diff --git a/tests/cypress/integration/2-flow/container.spec.ts b/e2e/cypress/integration/2-flow/container.spec.ts similarity index 100% rename from tests/cypress/integration/2-flow/container.spec.ts rename to e2e/cypress/integration/2-flow/container.spec.ts diff --git a/tests/cypress/plugins/index.ts b/e2e/cypress/plugins/index.ts similarity index 100% rename from tests/cypress/plugins/index.ts rename to e2e/cypress/plugins/index.ts diff --git a/tests/cypress/plugins/vite.config.ts b/e2e/cypress/plugins/vite.config.ts similarity index 100% rename from tests/cypress/plugins/vite.config.ts rename to e2e/cypress/plugins/vite.config.ts diff --git a/tests/cypress/support/commands.js b/e2e/cypress/support/commands.js similarity index 100% rename from tests/cypress/support/commands.js rename to e2e/cypress/support/commands.js diff --git a/tests/cypress/support/index.js b/e2e/cypress/support/index.js similarity index 100% rename from tests/cypress/support/index.js rename to e2e/cypress/support/index.js diff --git a/tests/package.json b/e2e/package.json similarity index 91% rename from tests/package.json rename to e2e/package.json index 6dcd6e37..c369e67d 100644 --- a/tests/package.json +++ b/e2e/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "scripts": { - "tests": "cypress run-ct", + "test": "cypress run-ct", "open": "cypress open-ct" }, "dependencies": { diff --git a/tests/tsconfig.json b/e2e/tsconfig.json similarity index 100% rename from tests/tsconfig.json rename to e2e/tsconfig.json diff --git a/package.json b/package.json index ffae3ddf..968846ae 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "workspaces": [ - "tests", + "e2e", "examples", "docs", "package" diff --git a/package/package.json b/package/package.json index 1498ce15..44ac627e 100644 --- a/package/package.json +++ b/package/package.json @@ -26,7 +26,6 @@ "build": "vite build", "types": "vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist", "theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css", - "test": "yarn --cwd .. tests", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../.gitignore .", "lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist", "prepublishOnly": "shx cp ../README.md .",