Skip to content

Commit 8caa7ce

Browse files
fix: bugs
1 parent cf03997 commit 8caa7ce

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

src/lib/keyBindings.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import { description } from "components/quickTools/items";
2-
import actions, { key } from "handlers/quickTools";
3-
41
export default {
52
focusEditor: {
63
description: "Focus editor",

src/test/editor.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TestRunner } from "../tester.js";
1+
import { TestRunner } from "./tester";
22

33
export async function runAceEditorTests(writeOutput) {
44
const runner = new TestRunner("Ace Editor API Tests");

src/test/sanity.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TestRunner } from "../tester.js";
1+
import { TestRunner } from "./tester";
22

33
export async function runSanityTests(writeOutput) {
44
const runner = new TestRunner("JS (WebView) Sanity Tests");

src/test/tester.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* Runtime Test Suite for Acode Plugin
3-
* Tests execute at plugin initialization and print results to terminal
4-
*/
1+
import { runAceEditorTests } from "./editor.tests";
2+
import { runSanityTests } from "./sanity.tests";
53

64
export async function runAllTests() {
75
const terminal = acode.require("terminal");
@@ -16,8 +14,8 @@ export async function runAllTests() {
1614

1715
try {
1816
// Run unit tests
19-
await runSanityTests(write);
20-
await runAceEditorTests(write);
17+
await runSanityTests();
18+
await runAceEditorTests();
2119

2220
write("\x1b[36m\x1b[1mTests completed!\x1b[0m\n");
2321
} catch (error) {

0 commit comments

Comments
 (0)