mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Fixing typo in test and updating tsconfig libs
This commit is contained in:
parent
a08db75f71
commit
045ed709d8
@ -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);
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"module": "es6",
|
||||
"outDir": "dist",
|
||||
"pretty": true,
|
||||
"lib": ["es6", "dom"],
|
||||
"lib": ["ES2015", "DOM"],
|
||||
|
||||
|
||||
/* Module Resolution Options */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user