We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54c6160 commit 7c8c8a6Copy full SHA for 7c8c8a6
app/core/Snaps/location/npm.test.ts
@@ -5,10 +5,15 @@ jest.mock('react-native-blob-util', () => ({
5
fetch: jest.fn(() => ({
6
flush: jest.fn(),
7
data: '/document-dir/archive.tgz',
8
+ respInfo: {
9
+ status: 200,
10
+ headers: {
11
+ 'content-length': 2000,
12
+ },
13
14
})),
15
16
fs: {
- dirs: { DocumentDir: '/document-dir/' },
17
unlink: jest.fn().mockResolvedValue(undefined),
18
isDir: jest.fn((path) => path.endsWith('archive') || path.endsWith('dist')),
19
ls: jest.fn((path) => {
0 commit comments