mirror of
https://github.com/cypress-io/cypress.git
synced 2025-12-30 19:19:53 -06:00
* chore: convert @packages/https-proxy to TypeScript and use vitest instead of mocha * chore: address comments from code review * Update packages/https-proxy/vitest.config.ts
17 lines
441 B
TypeScript
17 lines
441 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
env: {
|
|
// disables SSL certificate verification for testing purposes
|
|
// This is needed to allow self-signed certificates
|
|
// which are needed for the proxy.spec.ts tests
|
|
NODE_TLS_REJECT_UNAUTHORIZED: '0',
|
|
},
|
|
fileParallelism: false,
|
|
include: ['test/**/*.spec.ts'],
|
|
globals: true,
|
|
environment: 'node',
|
|
},
|
|
})
|