summaryrefslogtreecommitdiff
path: root/cypress/e2e
diff options
context:
space:
mode:
authorGianni Ceccarelli <dakkar@thenautilus.net>2024-03-20 02:25:49 +0000
committerGitHub <noreply@github.com>2024-03-20 11:25:49 +0900
commitd7bb6c88d3e4878486fb1f4d1655379896a5d976 (patch)
tree452c5ea20578bc569050c54cfc1e747dc3cae100 /cypress/e2e
parentfix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)... (diff)
downloadmisskey-d7bb6c88d3e4878486fb1f4d1655379896a5d976.tar.gz
misskey-d7bb6c88d3e4878486fb1f4d1655379896a5d976.tar.bz2
misskey-d7bb6c88d3e4878486fb1f4d1655379896a5d976.zip
Cypress typescript (#13591)
* convert Cypress tests to TypeScript this work was done by @lunaisnotaboy https://github.com/lunaisnotaboy for their fork https://github.com/cutiekey/cutiekey/pull/7 I just repacked their changes into a minimal set * fix call to `window` in cypress tests this error was spotted thanks to the TypeScript compiler: ``` support/commands.ts:33:12 - error TS2559: Type '(win: any) => void' has no properties in common with type 'Partial<Loggable & Timeoutable>'. 33 cy.window(win => { ~~~~~~~~ Found 1 error in support/commands.ts:33 ``` (again, @lunaisnotaboy did the actual work)
Diffstat (limited to 'cypress/e2e')
-rw-r--r--cypress/e2e/basic.cy.ts (renamed from cypress/e2e/basic.cy.js)0
-rw-r--r--cypress/e2e/router.cy.ts (renamed from cypress/e2e/router.cy.js)0
-rw-r--r--cypress/e2e/widgets.cy.ts (renamed from cypress/e2e/widgets.cy.js)0
3 files changed, 0 insertions, 0 deletions
diff --git a/cypress/e2e/basic.cy.js b/cypress/e2e/basic.cy.ts
index d2525e0a7d..d2525e0a7d 100644
--- a/cypress/e2e/basic.cy.js
+++ b/cypress/e2e/basic.cy.ts
diff --git a/cypress/e2e/router.cy.js b/cypress/e2e/router.cy.ts
index 8d8fb3af31..8d8fb3af31 100644
--- a/cypress/e2e/router.cy.js
+++ b/cypress/e2e/router.cy.ts
diff --git a/cypress/e2e/widgets.cy.js b/cypress/e2e/widgets.cy.ts
index 847801a69f..847801a69f 100644
--- a/cypress/e2e/widgets.cy.js
+++ b/cypress/e2e/widgets.cy.ts