FIX typings test

pull/46/head
pubkey 6 years ago
parent 0ac0c08433
commit 734a02977a
  1. 7
      test/typings.test.js

@ -18,10 +18,9 @@ describe('typings.test.ts', () => {
const stdout = [];
const stderr = [];
const promise = spawn('ts-node', [
'--no-cache',
'--compilerOptions', '{"target":"es6", "strict": true, "strictNullChecks": true, "noImplicitAny": true}',
//'--type-check',
'-p', codeBase + '\n' + code
'--compiler-options', '{"target":"es6", "strict": true}',
'--type-check',
'-e', codeBase + '\n' + code
]);
const childProcess = promise.childProcess;
childProcess.stdout.on('data', data => stdout.push(data.toString()));

Loading…
Cancel
Save