Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: moving unit testing over to vitest
  • Loading branch information
erunion committed Sep 8, 2023
commit 46e52861faa9cc6265280b223a6677fbfcfacbce
8 changes: 6 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": [
"@readme/eslint-config",
"@readme/eslint-config/typescript",
"@readme/eslint-config/testing"
"@readme/eslint-config/testing/vitest"
],
"root": true,
"parserOptions": {
Expand All @@ -18,7 +18,11 @@
"max-classes-per-file": "off",
"no-param-reassign": "off",
"no-underscore-dangle": ["error", { "allow": ["_boundary"] }],
"spaced-comment": "off"
"spaced-comment": "off",

"unicorn/prefer-node-protocol": "error",

"vitest/require-hook": "off"
},
"env": {
"browser": true
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
build:
context: .
dockerfile: integrations/node.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest run src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=node
Expand All @@ -48,7 +48,7 @@ services:
build:
context: .
dockerfile: integrations/php.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest run src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=php
Expand All @@ -73,7 +73,7 @@ services:
build:
context: .
dockerfile: integrations/shell.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest run src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=shell
Expand All @@ -85,7 +85,7 @@ services:
build:
context: .
dockerfile: integrations/csharp.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest run src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=csharp
Expand All @@ -97,7 +97,7 @@ services:
build:
context: .
dockerfile: integrations/c.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest run src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=c
Expand All @@ -109,7 +109,7 @@ services:
build:
context: .
dockerfile: integrations/go.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest run src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=go
Expand Down
11 changes: 0 additions & 11 deletions jest.config.js

This file was deleted.

Loading