From 9e0cb58f8f625a8f4a19bed073aa92a1cd0cb161 Mon Sep 17 00:00:00 2001 From: Peter Burns Date: Wed, 24 Oct 2018 17:34:10 -0700 Subject: [PATCH] Revert throwing error This change causes the tests to fail! --- packages/wct-mocha/src/index.ts | 3 --- packages/wct-mocha/tsconfig.json | 10 ++++------ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/packages/wct-mocha/src/index.ts b/packages/wct-mocha/src/index.ts index 41b38c31a..65245fab7 100644 --- a/packages/wct-mocha/src/index.ts +++ b/packages/wct-mocha/src/index.ts @@ -88,9 +88,6 @@ export function initialize(initConfig?: config.Config) { if (error) { throw error; } - if (!socket) { - throw new Error(`CLISocket.init failed to give a socket`); - } // Are we a child of another run? const current = ChildRunner.current(); diff --git a/packages/wct-mocha/tsconfig.json b/packages/wct-mocha/tsconfig.json index 104cb12a3..ae862231a 100644 --- a/packages/wct-mocha/tsconfig.json +++ b/packages/wct-mocha/tsconfig.json @@ -2,16 +2,14 @@ "extends": "../../tsconfig-base.json", "compilerOptions": { "target": "es5", - "strict": true, + "strict": false, "isolatedModules": false, - "noUnusedLocals": true, + "noUnusedLocals": false, "noUnusedParameters": true, - "noImplicitThis": true, + "noImplicitThis": false, "removeComments": false, "preserveConstEnums": true, - "suppressImplicitAnyIndexErrors": false, - "noImplicitAny": false, - "noImplicitReturns": false, + "suppressImplicitAnyIndexErrors": true, "outDir": "lib", "lib": [ "dom",