From 5d143cb4feedabde02c1b3fdfde67c455a34bc49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Mon, 17 Dec 2018 11:46:31 +0800 Subject: [PATCH] update --- .gitignore | 1 + .vscodeignore | 1 + test/index.js | 9 +++++++++ 3 files changed, 11 insertions(+) create mode 100644 test/index.js diff --git a/.gitignore b/.gitignore index b417064..4d91d25 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ package-lock.json node_modules +.vscode-test *.vsix \ No newline at end of file diff --git a/.vscodeignore b/.vscodeignore index b14ec99..3ffeea5 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -1,4 +1,5 @@ .vscode/** +.vscode-test/** package-lock.json .gitignore diff --git a/test/index.js b/test/index.js new file mode 100644 index 0000000..e62245a --- /dev/null +++ b/test/index.js @@ -0,0 +1,9 @@ +const testRunner = require('vscode/lib/testrunner') + +testRunner.configure({ + ui: 'tdd', // the TDD UI is being used in extension.test.ts (suite, test, etc.) + useColors: true, // colored output from test results + timeout: 10000 +}) + +module.exports = testRunner