Skip to content

Commit

Permalink
fix: removing test due to file hash mismatches being rejected
Browse files Browse the repository at this point in the history
  • Loading branch information
jozsef-armin-hamos committed Aug 16, 2024
1 parent ca50ca4 commit 2a3cb9c
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,27 +256,6 @@ describe('Requests to public API', () => {
TEST_TIMEOUT,
);

it(
'uploads fake files to fake bundle',
async () => {
const response = await extendBundle({
baseURL,
sessionToken,
source,
bundleHash: fakeBundleHashFull,
files: {
'df.js': { hash: 'df', content: 'const module = new Module();' },
'sdfs.js': { hash: 'sdfs', content: 'const App = new App();' },
},
});
expect(response.type).toEqual('success');
if (response.type !== 'success') return; // TS trick
expect(response.value.bundleHash).toContain('f7c882573beea05f39af5d1ce92408eb4addfae860f6d8b665ceb1b82765d87e');
expect(response.value.missingFiles).toHaveLength(15);
},
TEST_TIMEOUT,
);

it(
'test successful workflow',
async () => {
Expand Down

0 comments on commit 2a3cb9c

Please sign in to comment.