fix: tests (#2876)

This commit is contained in:
lohit 2024-08-21 12:45:29 +05:30 committed by GitHub
parent 6b3c5f6e1a
commit d7fc24a1c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 18 deletions

View File

@ -16,7 +16,7 @@
"dist:rpm": "electron-builder --linux rpm --config electron-builder-config.js",
"dist:snap": "electron-builder --linux snap --config electron-builder-config.js",
"pack": "electron-builder --dir",
"test": "jest"
"test": "node --experimental-vm-modules $(npx --no-install which jest)"
},
"jest": {
"modulePaths": ["node_modules"]

View File

@ -3,22 +3,19 @@
"name": "bruno-testbench",
"type": "collection",
"proxy": {
"bypassProxy": "",
"enabled": "global",
"enabled": false,
"protocol": "http",
"hostname": "{{proxyHostname}}",
"port": 4000,
"auth": {
"enabled": false,
"username": "",
"password": ""
"username": "anoop",
"password": "password"
},
"port": null,
"hostname": "",
"protocol": "http"
"bypassProxy": ""
},
"scripts": {
"moduleWhitelist": [
"crypto",
"buffer"
],
"moduleWhitelist": ["crypto", "buffer"],
"filesystemAccess": {
"allow": true
}
@ -30,9 +27,5 @@
"presets": {
"requestType": "http",
"requestUrl": "http://localhost:6000"
},
"ignore": [
"node_modules",
".git"
]
}
}