From ba33bba179fc015f279d2d9c8c5e426b0d70c2b7 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Tue, 26 Jun 2018 15:04:32 +0200 Subject: [PATCH] Fix test compilation --- packages/web-component-tester/test/unit/config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/web-component-tester/test/unit/config.ts b/packages/web-component-tester/test/unit/config.ts index f92e63ced..2f569a4a0 100644 --- a/packages/web-component-tester/test/unit/config.ts +++ b/packages/web-component-tester/test/unit/config.ts @@ -13,6 +13,7 @@ */ import * as chai from 'chai'; import * as path from 'path'; +import {NPMPackage} from 'polyserve'; import * as config from '../../runner/config'; import {Context} from '../../runner/context'; @@ -88,7 +89,7 @@ describe('config', function() { const localPackagePath = path.join(__dirname, '../fixtures/fake-packages/singleton-dep'); const options = {root: localPackagePath}; - const npmPackages: config.NPMPackage[] = [ + const npmPackages: NPMPackage[] = [ {name: 'dependency', jsEntrypoint: 'index.js'}, {name: 'dependency', jsEntrypoint: 'arbitraryJsFile.js'} ]; @@ -103,7 +104,7 @@ describe('config', function() { const localPackagePath = path.join(__dirname, '../fixtures/fake-packages/duplicated-dep'); const options = {root: localPackagePath}; - const npmPackages: config.NPMPackage[] = [ + const npmPackages: NPMPackage[] = [ {name: 'dependency', jsEntrypoint: 'index.js'}, {name: 'dependency', jsEntrypoint: 'arbitraryJsFile.js'} ];