summaryrefslogtreecommitdiff
path: root/cypress/e2e
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2023-03-03 03:13:12 +0100
committerGitHub <noreply@github.com>2023-03-03 11:13:12 +0900
commit61215e50ff9e4c84787c8d99c75fd36dafbd8815 (patch)
tree36419e8a3ec97afa0a3a0011d523d80addf8e724 /cypress/e2e
parentfix(server): チャンネルでミュートが正しく機能していない... (diff)
downloadsharkey-61215e50ff9e4c84787c8d99c75fd36dafbd8815.tar.gz
sharkey-61215e50ff9e4c84787c8d99c75fd36dafbd8815.tar.bz2
sharkey-61215e50ff9e4c84787c8d99c75fd36dafbd8815.zip
test(backend): APIテストの復活 (#10163)
* Revert 1c5291f8185651c231903129ee7c1cee263f9f03 * APIテストの復活 * apiテストの移行 * moduleNameMapper修正 * simpleGetでthrowしないように status確認しているので要らない * longer timeout * ローカルでは問題ないのになんで * case sensitive * Run Nest instance within the current process * Skip some setIntervals * wait for 5 seconds * kill them all!! * logHeapUsage: true * detectOpenHandlesがじゃましているらしい * maxWorkers=1? * restore drive api tests * workerIdleMemoryLimit: 500MB * 1024MiB * Wait what
Diffstat (limited to 'cypress/e2e')
-rw-r--r--cypress/e2e/api.cy.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/cypress/e2e/api.cy.js b/cypress/e2e/api.cy.js
deleted file mode 100644
index 00df987bfc..0000000000
--- a/cypress/e2e/api.cy.js
+++ /dev/null
@@ -1,11 +0,0 @@
-describe('API', () => {
- it('returns HTTP 404 to unknown API endpoint paths', () => {
- cy.request({
- url: '/api/foo',
- failOnStatusCode: false,
- }).then((response) => {
- expect(response.status).to.eq(404);
- expect(response.body.error.code).to.eq('UNKNOWN_API_ENDPOINT');
- });
- });
-});