refactor(tests): rename e2e to tests

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-02-21 22:36:28 +01:00
committed by Braks
parent c60398d0f0
commit a3ec3b40a7
43 changed files with 10 additions and 1 deletions

7
tests/.eslintrc.js Normal file
View File

@@ -0,0 +1,7 @@
module.exports = {
extends: ['@vue-flow/eslint-config'],
plugins: ['chai-friendly'],
rules: {
'chai-friendly/no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true }],
},
}

View File

@@ -1,5 +1,5 @@
{ {
"name": "tests", "name": "@vue-flow/tests",
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
@@ -10,10 +10,12 @@
"@vue-flow/background": "workspace:*", "@vue-flow/background": "workspace:*",
"@vue-flow/controls": "workspace:*", "@vue-flow/controls": "workspace:*",
"@vue-flow/core": "workspace:*", "@vue-flow/core": "workspace:*",
"@vue-flow/eslint-config": "workspace:*",
"@vue-flow/minimap": "workspace:*" "@vue-flow/minimap": "workspace:*"
}, },
"devDependencies": { "devDependencies": {
"cypress": "^12.3.0", "cypress": "^12.3.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"@vitejs/plugin-vue": "^4.0.0" "@vitejs/plugin-vue": "^4.0.0"
} }
} }