From 045ed709d86ecbb6c7bc54a65d1255b31ba8ae7e Mon Sep 17 00:00:00 2001 From: Justin Dalrymple Date: Mon, 22 Oct 2018 11:33:19 -0400 Subject: [PATCH] Fixing typo in test and updating tsconfig libs --- test/tests/infrastructure/Utils.ts | 6 +++--- tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/tests/infrastructure/Utils.ts b/test/tests/infrastructure/Utils.ts index ed8a6472..cd736988 100644 --- a/test/tests/infrastructure/Utils.ts +++ b/test/tests/infrastructure/Utils.ts @@ -13,14 +13,14 @@ class Test2 { } test('No classes passed to Bundler returns an empty Bundle', async () => { - const Bundle = Bundler(); + const Bundle = bundler(); const services = new Bundle(); expect(services).toEqual({}); }); test('Classes passed to Bundler get merged', async () => { - const Bundle = Bundler({ Test1, Test2 }); + const Bundle = bundler({ Test1, Test2 }); const services = new Bundle(); expect(services.Test1).toBeInstanceOf(Test1); @@ -28,7 +28,7 @@ test('Classes passed to Bundler get merged', async () => { }); test('Classes passed to Bundler with options get initialized', async () => { - const Bundle = Bundler({ Test1, Test2 }); + const Bundle = bundler({ Test1, Test2 }); const services = new Bundle(2); expect(services.Test1.value).toBe(6); diff --git a/tsconfig.json b/tsconfig.json index 15e2f17f..4b65a010 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "module": "es6", "outDir": "dist", "pretty": true, - "lib": ["es6", "dom"], + "lib": ["ES2015", "DOM"], /* Module Resolution Options */