Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate to msw@2 #38

Merged
merged 23 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fea871c
chore: migrate to msw@2
kettanaito May 20, 2024
5cde205
chore: add tests, simplify base64 handling
kettanaito May 25, 2024
b7d1ef4
chore: remove old logo
kettanaito May 25, 2024
c8ef7b7
chore(withHandlers): describe the function
kettanaito May 25, 2024
162f6c0
test: rewrite "response-body" tests for fromTraffic
kettanaito May 25, 2024
83977b5
test: improve OpenSchema tests and implementation
weyert May 26, 2024
97d1f80
test: update the unit tests for `fromTraffic`
weyert May 26, 2024
abb022b
test: update the fromTraffic unit tests
weyert May 26, 2024
9171e98
chore(withHandlers): add deprecation message
kettanaito May 26, 2024
25255ac
chore: remove eslint
kettanaito May 26, 2024
8992ce2
chore: remove contributing
kettanaito May 26, 2024
261b39f
chore(openApiUtils): remove console.log
kettanaito May 26, 2024
3a69b7f
test: fix "response-order" test
kettanaito May 26, 2024
85efdff
chore: remove unnecessary logging
weyert May 26, 2024
d6dbbdc
fix: inspectHandler to support relative paths
weyert May 26, 2024
7225439
test: rewrite "response-stream"
kettanaito May 27, 2024
59d438e
test(response-order): assert response headers
kettanaito May 27, 2024
96b09c8
chore: add ".toEqualBytes()" assertion
kettanaito May 27, 2024
722e019
test(oas-servers): rewrite test
kettanaito May 27, 2024
0b200ef
test(oas-response): rewrite test
kettanaito May 27, 2024
e58386e
test(oas-response-headers): rewrite test
kettanaito May 27, 2024
74c129e
test(oas-json-schema): rewrite the test
kettanaito May 27, 2024
c853015
test(petstore): rewrite the test
kettanaito May 27, 2024
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
14 changes: 0 additions & 14 deletions .eslintrc.js

This file was deleted.

34 changes: 0 additions & 34 deletions CONTRIBUTING.md

This file was deleted.

17 changes: 4 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"author": "Artem Zakharchenko <[email protected]>",
"scripts": {
"start": "pnpm build --watch",
"lint": "eslint ./{src,test}/**/*.ts",
"har:fixture": "ts-node ./test/traffic/fixtures/requests/command.ts",
"prepare": "pnpm simple-git-hooks init",
"prebuild": "pnpm lint",
Expand All @@ -29,8 +28,7 @@
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
"prettier --write"
]
},
"simple-git-hooks": {
Expand All @@ -42,23 +40,18 @@
},
"packageManager": "[email protected]",
"peerDependencies": {
"msw": "^1.2.1"
"msw": "^2.3.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@open-draft/test-server": "^0.5.1",
"@types/compression": "^1.7.1",
"@types/node": "18",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"compression": "^1.7.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jsdom": "^22.1.0",
"lint-staged": "^10.5.3",
"msw": "^1.2.1",
"msw": "^2.3.0",
"playwright": "^1.34.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
Expand All @@ -73,11 +66,9 @@
"@apidevtools/swagger-parser": "^10.0.2",
"@types/faker": "^5.5.9",
"@types/har-format": "^1.2.7",
"@types/set-cookie-parser": "^2.4.2",
"faker": "5.x",
"openapi-types": "^7.2.3",
"outvariant": "^1.2.1",
"randexp": "^0.5.3",
"set-cookie-parser": "^2.6.0"
"randexp": "^0.5.3"
}
}
Loading
Loading