diff options
| author | renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> | 2025-11-30 11:14:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-30 11:14:34 +0900 |
| commit | 5fbe801d356e4b936ca45a07f574965ab9782369 (patch) | |
| tree | d5235d02f0593e8eb1e778ad6ab8b3fd4ab4565d /packages/frontend/test/aiscript | |
| parent | Bump version to 2025.11.2-alpha.1 (diff) | |
| download | misskey-5fbe801d356e4b936ca45a07f574965ab9782369.tar.gz misskey-5fbe801d356e4b936ca45a07f574965ab9782369.tar.bz2 misskey-5fbe801d356e4b936ca45a07f574965ab9782369.zip | |
fix(deps): update [frontend] update dependencies (major) [ci skip] (#16866)
* fix(deps): update [frontend] update dependencies
* attempt to fix test
* rollback twemoji parser to v16 [ci skip]
* fix [ci skip]
* rollback twemoji parser to v16
* attempt to fix test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/test/aiscript')
| -rw-r--r-- | packages/frontend/test/aiscript/api.test.ts | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/packages/frontend/test/aiscript/api.test.ts b/packages/frontend/test/aiscript/api.test.ts index 34f880286c..292ec7ca77 100644 --- a/packages/frontend/test/aiscript/api.test.ts +++ b/packages/frontend/test/aiscript/api.test.ts @@ -8,7 +8,6 @@ import { aiScriptReadline, createAiScriptEnv } from '@/aiscript/api.js'; import { errors, Interpreter, Parser, values } from '@syuilo/aiscript'; import { afterAll, - afterEach, beforeAll, beforeEach, describe, @@ -80,8 +79,9 @@ describe('AiScript common API', () => { }); describe('readline', () => { - afterEach(() => { + beforeEach(() => { vi.restoreAllMocks(); + vi.clearAllMocks(); }); test.sequential('ok', async () => { @@ -176,8 +176,9 @@ describe('AiScript common API', () => { }); describe('dialog', () => { - afterEach(() => { + beforeEach(() => { vi.restoreAllMocks(); + vi.clearAllMocks(); }); test.sequential('ok', async () => { @@ -215,8 +216,9 @@ describe('AiScript common API', () => { }); describe('confirm', () => { - afterEach(() => { + beforeEach(() => { vi.restoreAllMocks(); + vi.clearAllMocks(); }); test.sequential('ok', async () => { @@ -272,8 +274,9 @@ describe('AiScript common API', () => { }); describe('api', () => { - afterEach(() => { + beforeEach(() => { vi.restoreAllMocks(); + vi.clearAllMocks(); }); test.sequential('successful', async () => { @@ -347,7 +350,7 @@ describe('AiScript common API', () => { miLocalStorage.removeItem('aiscript:widget:key'); }); - afterEach(() => { + beforeEach(() => { miLocalStorage.removeItem('aiscript:widget:key'); }); |