Skip to content

Commit

Permalink
Merge pull request #4 from Unibeautify/unibeautify/vacation/push
Browse files Browse the repository at this point in the history
🎨 Fix formatting of 1 file for commit 67a31ed
  • Loading branch information
Glavin001 authored Mar 10, 2018
2 parents 67a31ed + 306b614 commit 1b0bd48
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@
// By default the test runner in use is Mocha based.
//
// You can provide your own test runner if you want to override it by exporting
// a function run(testRoot: string, clb: (error:Error) => void) that the extension
// host can call to run the tests. The test runner is expected to use console.log
// to report the results back to the caller. When the tests are finished, return
// a possible error to the callback or null if none.
// a function run(testRoot: string, clb: (error:Error) => void) that the
// extension host can call to run the tests. The test runner is expected to use
// console.log to report the results back to the caller. When the tests are
// finished, return a possible error to the callback or null if none.

const testRunner = require('vscode/lib/testrunner');
const testRunner = require("vscode/lib/testrunner");

// You can directly control Mocha options by uncommenting the following lines
// See https://github.com/mochajs/mocha/wiki/Using-mocha-programmatically#set-options for more info
// See
// https://github.com/mochajs/mocha/wiki/Using-mocha-programmatically#set-options
// for more info
testRunner.configure({
ui: 'tdd', // the TDD UI is being used in extension.test.js (suite, test, etc.)
useColors: true // colored output from test results
ui: "tdd", // the TDD UI is being used in extension.test.js (suite, test, etc.)
useColors: true, // colored output from test results,
});

module.exports = testRunner;

0 comments on commit 1b0bd48

Please sign in to comment.