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 2fb5b38 commit e6ffd58Copy full SHA for e6ffd58
__mocks__/setup.js
@@ -28,6 +28,12 @@ class Worker {
28
29
const noop = () => {};
30
31
+const dummyMetadata = [{
32
+ name: 'ValidApplication',
33
+ mimes: ['valid/bazz'],
34
+ files: []
35
+}];
36
+
37
const fetchMocks = {
38
text: {
39
@@ -46,11 +52,8 @@ const fetchMocks = {
46
52
47
53
'/apps/Jest/test': true,
48
54
49
- '/metadata.json': [{
50
- name: 'ValidApplication',
51
- mimes: ['valid/bazz'],
- files: []
- }],
55
+ '/metadata.json': dummyMetadata,
56
+ '/api/packages/metadata': dummyMetadata,
57
58
'/settings': ({method}) => String(method).toLowerCase() === 'post'
59
? true
0 commit comments