mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
fix: tests (#2876)
This commit is contained in:
parent
6b3c5f6e1a
commit
d7fc24a1c1
@ -16,7 +16,7 @@
|
|||||||
"dist:rpm": "electron-builder --linux rpm --config electron-builder-config.js",
|
"dist:rpm": "electron-builder --linux rpm --config electron-builder-config.js",
|
||||||
"dist:snap": "electron-builder --linux snap --config electron-builder-config.js",
|
"dist:snap": "electron-builder --linux snap --config electron-builder-config.js",
|
||||||
"pack": "electron-builder --dir",
|
"pack": "electron-builder --dir",
|
||||||
"test": "jest"
|
"test": "node --experimental-vm-modules $(npx --no-install which jest)"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"modulePaths": ["node_modules"]
|
"modulePaths": ["node_modules"]
|
||||||
|
@ -3,22 +3,19 @@
|
|||||||
"name": "bruno-testbench",
|
"name": "bruno-testbench",
|
||||||
"type": "collection",
|
"type": "collection",
|
||||||
"proxy": {
|
"proxy": {
|
||||||
"bypassProxy": "",
|
"enabled": false,
|
||||||
"enabled": "global",
|
"protocol": "http",
|
||||||
|
"hostname": "{{proxyHostname}}",
|
||||||
|
"port": 4000,
|
||||||
"auth": {
|
"auth": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"username": "",
|
"username": "anoop",
|
||||||
"password": ""
|
"password": "password"
|
||||||
},
|
},
|
||||||
"port": null,
|
"bypassProxy": ""
|
||||||
"hostname": "",
|
|
||||||
"protocol": "http"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"moduleWhitelist": [
|
"moduleWhitelist": ["crypto", "buffer"],
|
||||||
"crypto",
|
|
||||||
"buffer"
|
|
||||||
],
|
|
||||||
"filesystemAccess": {
|
"filesystemAccess": {
|
||||||
"allow": true
|
"allow": true
|
||||||
}
|
}
|
||||||
@ -30,9 +27,5 @@
|
|||||||
"presets": {
|
"presets": {
|
||||||
"requestType": "http",
|
"requestType": "http",
|
||||||
"requestUrl": "http://localhost:6000"
|
"requestUrl": "http://localhost:6000"
|
||||||
},
|
}
|
||||||
"ignore": [
|
|
||||||
"node_modules",
|
|
||||||
".git"
|
|
||||||
]
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user