@hedia/test
Advanced tools
Comparing version 3.5.0 to 3.5.1
{ | ||
"name": "@hedia/test", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "Tools for testing and reporting", | ||
@@ -44,10 +44,10 @@ "homepage": "https://github.com/hedia-team/test#readme", | ||
"dependencies": { | ||
"@hedia/html": "^3.4.2" | ||
"@hedia/html": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@hedia/eslint-config": "5.0.1", | ||
"@hedia/package-lint": "1.2.1", | ||
"@hedia/prettier-config": "1.2.1", | ||
"@hedia/tsconfig": "2.1.1", | ||
"@types/node": "22.9.0" | ||
"@hedia/eslint-config": "5.1.1", | ||
"@hedia/package-lint": "1.2.2", | ||
"@hedia/prettier-config": "1.2.2", | ||
"@hedia/tsconfig": "2.1.2", | ||
"@types/node": "22.10.1" | ||
}, | ||
@@ -54,0 +54,0 @@ "engines": { |
@@ -31,9 +31,9 @@ # Test | ||
- _resource_ is the url of the request you want to mock. It can be a string, a URL, or a regular expression. | ||
If a string or a URL is provided, the mock will match the url exactly with the resource except for any search query parameters. | ||
Search query parameters will be parsed so their order does not matter. | ||
Furthermore, all search query parameters given in the resource specification will be required but any extra query parameters used in the fetch call will be ignored. See example below. | ||
If a regular expression is provided, the mock will match the url with the resource using the regular expression. | ||
- _fetchImplementation_ is a function that will be called when a fetch request is made to the resource. | ||
- _method_ is an optional property that specifies the method of the request you want to mock. If it is not provided, the mock will match any method. | ||
- _resource_ is the url of the request you want to mock. It can be a string, a URL, or a regular expression. | ||
If a string or a URL is provided, the mock will match the url exactly with the resource except for any search query parameters. | ||
Search query parameters will be parsed so their order does not matter. | ||
Furthermore, all search query parameters given in the resource specification will be required but any extra query parameters used in the fetch call will be ignored. See example below. | ||
If a regular expression is provided, the mock will match the url with the resource using the regular expression. | ||
- _fetchImplementation_ is a function that will be called when a fetch request is made to the resource. | ||
- _method_ is an optional property that specifies the method of the request you want to mock. If it is not provided, the mock will match any method. | ||
@@ -40,0 +40,0 @@ ```javascript |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105401
Updated@hedia/html@^4.0.0