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: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"]

View File

@ -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"
]
}