|
@@ -62,7 +62,7 @@ describe('DataProjector', function () {
|
|
|
expect(res).to.be.eql({foo: 10, baz: 30});
|
|
expect(res).to.be.eql({foo: 10, baz: 30});
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- it('should allow override the "nameResolver" option', function () {
|
|
|
|
|
|
|
+ it('should allow overriding the "nameResolver" option', function () {
|
|
|
const S = new DataProjector();
|
|
const S = new DataProjector();
|
|
|
const schemaName = 'mySchema';
|
|
const schemaName = 'mySchema';
|
|
|
let invoked = 0;
|
|
let invoked = 0;
|
|
@@ -89,7 +89,7 @@ describe('DataProjector', function () {
|
|
|
expect(invoked).to.be.eq(1);
|
|
expect(invoked).to.be.eq(1);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- it('should allow override the "factoryArgs" option', function () {
|
|
|
|
|
|
|
+ it('should allow overriding the "factoryArgs" option', function () {
|
|
|
const S = new DataProjector();
|
|
const S = new DataProjector();
|
|
|
let invoked = 0;
|
|
let invoked = 0;
|
|
|
const factoryArgs = [1, 2, 3];
|
|
const factoryArgs = [1, 2, 3];
|