Update decorator type-specific decorator test
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
@@ -131,7 +131,7 @@ describe('IndexBuilder', () => {
|
||||
// wait for async decorator execution
|
||||
await Promise.resolve();
|
||||
expect(decoratorSpy).toHaveBeenCalled();
|
||||
expect(decoratorSpy).toHaveBeenCalledWith([docFixture]);
|
||||
expect(decoratorSpy).toHaveBeenCalledWith(expectedType, [docFixture]);
|
||||
});
|
||||
|
||||
it('adds a type-specific decorator that should not be called', async () => {
|
||||
|
||||
Reference in New Issue
Block a user