Fix tests after rebase.

Signed-off-by: Eric Peterson <i.am@eric.pe>
This commit is contained in:
Eric Peterson
2021-11-28 13:44:21 -07:00
parent 6e9e82b99d
commit dcabc18f7e
@@ -203,7 +203,13 @@ describe('AwsS3Publish', () => {
const publisher = createPublisherFromConfig({
sse: 'aws:kms',
});
expect(await publisher.publish({ entity, directory })).toBeUndefined();
expect(await publisher.publish({ entity, directory })).toMatchObject({
objects: expect.arrayContaining([
'default/component/backstage/404.html',
'default/component/backstage/index.html',
'default/component/backstage/assets/main.css',
]),
});
});
it('should fail to publish a directory', async () => {