File tree Expand file tree Collapse file tree 4 files changed +6
-11
lines changed
Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 1- import { description } from "components/quickTools/items" ;
2- import actions , { key } from "handlers/quickTools" ;
3-
41export default {
52 focusEditor : {
63 description : "Focus editor" ,
Original file line number Diff line number Diff line change 1- import { TestRunner } from ".. /tester.js " ;
1+ import { TestRunner } from "./tester" ;
22
33export async function runAceEditorTests ( writeOutput ) {
44 const runner = new TestRunner ( "Ace Editor API Tests" ) ;
Original file line number Diff line number Diff line change 1- import { TestRunner } from ".. /tester.js " ;
1+ import { TestRunner } from "./tester" ;
22
33export async function runSanityTests ( writeOutput ) {
44 const runner = new TestRunner ( "JS (WebView) Sanity Tests" ) ;
Original file line number Diff line number Diff line change 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
64export 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 ) {
You can’t perform that action at this time.
0 commit comments