diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-04-02 10:57:35 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-04-02 10:59:23 -0400 |
| commit | 74d301dcf1d8bb826ef9e44c1ae04497620e2a5e (patch) | |
| tree | cc269c4193199648bb8e21fbca92940c37630b79 /packages/frontend/test/aiscript | |
| parent | exclude storybook components from restricted globals rule (diff) | |
| download | sharkey-74d301dcf1d8bb826ef9e44c1ae04497620e2a5e.tar.gz sharkey-74d301dcf1d8bb826ef9e44c1ae04497620e2a5e.tar.bz2 sharkey-74d301dcf1d8bb826ef9e44c1ae04497620e2a5e.zip | |
fix frontend lint errors
Diffstat (limited to 'packages/frontend/test/aiscript')
| -rw-r--r-- | packages/frontend/test/aiscript/ui.test.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/frontend/test/aiscript/ui.test.ts b/packages/frontend/test/aiscript/ui.test.ts index 3102e22e81..a75ccf4a27 100644 --- a/packages/frontend/test/aiscript/ui.test.ts +++ b/packages/frontend/test/aiscript/ui.test.ts @@ -3,10 +3,10 @@ * SPDX-License-Identifier: AGPL-3.0-only */ -import { registerAsUiLib } from '@/aiscript/ui.js'; import { errors, Interpreter, Parser, values } from '@syuilo/aiscript'; import { describe, expect, test } from 'vitest'; -import { type Ref, ref } from 'vue'; +import { ref } from 'vue'; +import type { Ref } from 'vue'; import type { AsUiButton, AsUiButtons, @@ -20,6 +20,7 @@ import type { AsUiTextarea, AsUiTextInput, } from '@/aiscript/ui.js'; +import { registerAsUiLib } from '@/aiscript/ui.js'; type ExeResult = { root: AsUiRoot; @@ -39,8 +40,8 @@ async function exe(script: string): Promise<ExeResult> { { out: (value) => { outputs.push(value); - } - } + }, + }, ); const ast = Parser.parse(script); await interpreter.exec(ast); |