Update decorator type-specific decorator test

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-06-01 10:42:42 +02:00
parent aeb224eb52
commit b9b26ec572
@@ -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 () => {