8 lines
282 B
JavaScript
8 lines
282 B
JavaScript
describe('NullDiffBuilder', function() {
|
|
it('responds to withPath() by calling the passed function', function() {
|
|
const spy = jasmine.createSpy('callback');
|
|
privateUnderTest.NullDiffBuilder().withPath('does not matter', spy);
|
|
expect(spy).toHaveBeenCalled();
|
|
});
|
|
});
|