Skip to content

Commit b86f2e8

Browse files
committed
Remove Cypress and localforage
1 parent 1cb8ac0 commit b86f2e8

File tree

13 files changed

+54
-778
lines changed

13 files changed

+54
-778
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
CYPRESS_BASE_URL=http://127.0.0.1:8888
21
FIREBASE_PROJECT_ID=demo-octo
32
FIREBASE_TOKEN=fake
43
NUXT_PUBLIC_CDN_URL=

.eslintrc-todo.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -793,14 +793,6 @@
793793
"@typescript-eslint/comma-dangle": "warn"
794794
}
795795
},
796-
{
797-
"files": [
798-
"test/cypress/support/e2e.ts"
799-
],
800-
"rules": {
801-
"no-proto": "warn"
802-
}
803-
},
804796
{
805797
"files": [
806798
"types/types.ts"

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ firebase/data
2121
node_modules
2222
public/manifest.webmanifest
2323
supabase
24-
test/cypress/downloads
25-
test/cypress/screenshots
26-
test/cypress/videos
2724

2825
# We are not using Zero-Installs.
2926
# https://yarnpkg.com/getting-started/qa/#which-files-should-be-gitignored

components/DocEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default defineComponent({
5151
watch(coreEditor, () => {
5252
focus()
5353
54-
// Expose the Ink instance for Cypress.
54+
// Expose the Ink instance for tests.
5555
window.inkMde = coreEditor.value?.instance
5656
})
5757

cypress.config.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

nuxt.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,10 @@ export default defineNuxtConfig({
144144
maximumFileSizeToCacheInBytes: (5 * 1024 * 1024),
145145
navigateFallback: '/',
146146
navigateFallbackDenylist: [
147-
// Ignore Cypress routes.
148-
/^\/__/,
149147
// Keep this around for backward compatibility.
150148
/^\/manifest\.json$/,
151149
// Keep this around for backward compatibility.
152150
/^\/service-worker\.js$/,
153-
/cypress/,
154151
],
155152
runtimeCaching: [
156153
{

package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@
1818
"lint:todo": "eslint-generate-todo --format json .",
1919
"preview": "serve -p 8889 -s ./.output/public",
2020
"test": "run-p test:unit test:e2e",
21-
"test:e2e": "run-p test:e2e:cypress test:e2e:playwright",
22-
"test:e2e:cypress": "cypress run",
21+
"test:e2e": "run-p test:e2e:playwright",
2322
"test:e2e:playwright": "playwright test",
2423
"test:unit": "vitest",
25-
"typecheck": "run-s typecheck:app typecheck:cypress",
26-
"typecheck:app": "nuxt typecheck",
27-
"typecheck:cypress": "tsc --project ./test/cypress/tsconfig.json"
24+
"typecheck": "run-s typecheck:app",
25+
"typecheck:app": "nuxt typecheck"
2826
},
2927
"dependencies": {
3028
"@headlessui/tailwindcss": "^0.2.0",
@@ -42,7 +40,6 @@
4240
"ink-mde": "^0.33.0",
4341
"jszip": "^3.10.1",
4442
"khroma": "^2.1.0",
45-
"localforage": "^1.10.0",
4643
"mermaid": "^9.4.3",
4744
"micromark": "^3.2.0",
4845
"micromark-extension-gfm": "^2.0.3",
@@ -77,8 +74,6 @@
7774
"@vueuse/nuxt": "^9.13.0",
7875
"@vueuse/rxjs": "^10.7.1",
7976
"autoprefixer": "^10.4.16",
80-
"cypress": "^13.6.2",
81-
"cypress-network-idle": "^1.14.2",
8277
"deepmerge-ts": "^4.3.0",
8378
"eslint": "^8.56.0",
8479
"eslint-config-artisan": "^0.2.1",

0 commit comments

Comments
 (0)