Skip to content

Commit 77f1b03

Browse files
author
Zoltan Tarcsay
committed
fixes a type error
1 parent 07ba8c2 commit 77f1b03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/express/service-registry.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ExpressServiceRegistry } from './service-registry';
2-
import { JsRestfulRegistry } from './registry';
2+
import { JsRestfulRegistryConfig } from './registry';
33
import * as express from 'express';
44
import {expect} from 'chai';
55
import { Factory } from './test-util.spec';
@@ -35,7 +35,7 @@ describe('service-registry', () => {
3535
})
3636

3737
it('should be possible to initialize the registry with a config object', () => {
38-
const config = {test: true};
38+
const config: JsRestfulRegistryConfig = {logger: null};
3939
ExpressServiceRegistry.initJsRestfulRegistry(app, config);
4040
expect(app.locals.jsResutfulRegistry.config).to.equal(config);
4141
});

0 commit comments

Comments
 (0)