Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Continous integration
on:
push:
branches:
- '*'
- main
pull_request:

jobs:
checkout:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Integration test with Storage Create Fail to create a proper file with invalid checksum: invalid_fail_file_1 1`] = `[Error: Unable to upload file. Either invalid path specified, either provided checksum invalid]`;

exports[`Integration test with Storage List The list should be a single tests forlder 1`] = `
[
"tests",
Expand Down
3 changes: 2 additions & 1 deletion libs/bunny-storage/tests/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ describe('Integration test with Storage', () => {
// Should not be here.
expect(false).toBeTruthy();
} catch (e) {
expect(e).toMatchSnapshot("invalid_fail_file_1");
expect(e).toBeInstanceOf(Error);
expect((e as Error).message).toContain("invalid path or checksum");
}

let list = await BunnyStorageSDK.file.list(sz, generation_id);
Expand Down
Loading