Skip to content

Commit c95155a

Browse files
committed
Fix export and type issues
1 parent 9bf2da0 commit c95155a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/jarContentProvider.ts

-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ export class JarContentProvider implements vscode.TextDocumentContentProvider {
2626
})
2727
});
2828
}
29-
3029
}

test/utils.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { ISuiteCallbackContext } from "mocha";
2+
13
const LONG_TIMEOUT: number = 5000;
24

35
/**
@@ -7,10 +9,7 @@ const LONG_TIMEOUT: number = 5000;
79
*
810
* @param suite: A test suite instance.
911
*/
10-
const setLongTimeout = (suite: Mocha.IContextDefinition): void => {
12+
export const setLongTimeout = (
13+
suite: Mocha.IContextDefinition | ISuiteCallbackContext): void => {
1114
suite.timeout(LONG_TIMEOUT);
1215
}
13-
14-
export const utils = {
15-
setLongTimeout,
16-
}

0 commit comments

Comments
 (0)