Skip to content

Commit c912c52

Browse files
committed
fix: test case fix for live preview
1 parent 938f78b commit c912c52

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

.github/workflows/eslint-test.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/request.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ describe('Request tests', () => {
3232
live_preview: {
3333
enable: true,
3434
preview_token: 'someToken',
35+
live_preview: '<live_preview_hash>', // this gets added via Delivery SDK; added here in core only for testing.
3536
},
3637
};
3738
await expect(getData(client, url, {})).rejects.toThrowError('Host is required for live preview');

0 commit comments

Comments
 (0)