Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
18 changes: 13 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"extends": [
"@readme/eslint-config",
"@readme/eslint-config/esm",
"@readme/eslint-config/typescript",
"@readme/eslint-config/testing/jest"
"@readme/eslint-config/testing/vitest"
],
"root": true,
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
Expand All @@ -20,8 +18,18 @@
"no-underscore-dangle": ["error", { "allow": ["_boundary"] }],
"spaced-comment": "off",

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

"vitest/require-hook": "off"
},
"overrides": [
{
"files": ["src/fixtures/**"],
"rules": {
"import/no-commonjs": "off"
}
}
],
"env": {
"browser": true
}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
node-version:
- 16
- 18
- 20

Expand Down
14 changes: 7 additions & 7 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 @@ -60,7 +60,7 @@ services:
build:
context: .
dockerfile: integrations/python.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest run src/integration.test.ts'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have to use the run command here because Vitest doesn't know in this Docker container that it's being run in a CI environment and it'll sit there in watch mode.

environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=python
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