Skip to content

Commit

Permalink
fix: pr notes for tests #2
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenkapelian committed Mar 8, 2023
1 parent 5175b66 commit 235bf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/createPackage/models/createPackageModel.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ describe('CreatePackageManager', () => {
expect(fs.promises.writeFile).toHaveBeenCalledWith(expectedFileName, JSON.stringify(metadataExportJson));
});

it('should failed on metadata.json file with the correct parameters', async () => {
it('should fail on metadata.json creation(because finding layer from catalog)', async () => {
const concatFsPathsSpy = jest.spyOn(utils, 'concatFsPaths');
const parseFeatureCollectionSpy = jest.spyOn(utils, 'parseFeatureCollection');
findLayerMock.mockRejectedValue({ msg: 'Layer Not found' });
Expand Down

0 comments on commit 235bf00

Please sign in to comment.