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 */