Fixing typo in test and updating tsconfig libs

This commit is contained in:
Justin Dalrymple 2018-10-22 11:33:19 -04:00
parent a08db75f71
commit 045ed709d8
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -6,7 +6,7 @@
"module": "es6",
"outDir": "dist",
"pretty": true,
"lib": ["es6", "dom"],
"lib": ["ES2015", "DOM"],
/* Module Resolution Options */