catalog-backend: maybe fix FileReaderProcessor test on windows

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-07-08 11:06:50 +02:00
parent 88f2f56f24
commit 695b72ab4a
@@ -91,7 +91,7 @@ describe('FileReaderProcessor', () => {
});
expect(emit.mock.calls[1][0].key).toContain('file:');
expect(emit.mock.calls[1][0].key).toContain(
'fileReaderProcessor/component.yaml',
path.join('fileReaderProcessor', 'component.yaml'),
);
expect(emit.mock.calls[2][0].entity).toEqual({
kind: 'API',