chore(deps): npm up #2588
Annotations
20 errors
test/index.test.ts > oas-to-snippet > supported languages > node > targets > api > should support snippet generation:
packages/oas-to-snippet/test/index.test.ts#L483
Error: Snapshot `oas-to-snippet > supported languages > node > targets > api > should support snippet generation 1` mismatched
- Expected
+ Received
{
- "code": "import sdk from '@api/developers';
+ "code": "import developers from '@api/developers';
- sdk.loginUser({username: 'woof', password: 'barkbarkbark'})
+ developers.loginUser({username: 'woof', password: 'barkbarkbark'})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));",
"highlightMode": "javascript",
- "install": "npx api install @developers/v2.0#17273l2glm9fq4l5",
+ "install": "npx api install "@developers/v2.0#17273l2glm9fq4l5"",
}
❯ test/index.test.ts:483:29
|
test/index.test.ts > oas-to-snippet > supported languages > node > targets > api > should support custom variable names:
packages/oas-to-snippet/test/index.test.ts#L505
Error: Snapshot `oas-to-snippet > supported languages > node > targets > api > should support custom variable names 1` mismatched
- Expected
+ Received
@@ -3,7 +3,7 @@
developers.loginUser({username: 'woof', password: 'barkbarkbark'})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));",
"highlightMode": "javascript",
- "install": "npx api install @developers/v2.0#17273l2glm9fq4l5",
+ "install": "npx api install "@developers/v2.0#17273l2glm9fq4l5"",
}
❯ test/index.test.ts:505:31
|
test/languages.test.ts > #getSupportedLanguages > should support external plugins:
packages/oas-to-snippet/test/languages.test.ts#L20
AssertionError: expected { name: 'API', …(1) } to strictly equal { name: 'API', …(1) }
- Expected
+ Received
Object {
- "install": "npx api install {packageName}",
+ "install": "npx api install \"{packageName}\"",
"name": "API",
}
❯ test/languages.test.ts:20:52
|
test/languages.test.ts > #getClientInstallationInstructions > should retrieve a templated `api` install command if the `api` plugin is loaded:
packages/oas-to-snippet/test/languages.test.ts#L45
AssertionError: expected 'npx api install "@developers/v2.0#172…' to be 'npx api install @developers/v2.0#1727…' // Object.is equality
- Expected
+ Received
- npx api install @developers/v2.0#17273l2glm9fq4l5
+ npx api install "@developers/v2.0#17273l2glm9fq4l5"
❯ test/languages.test.ts:45:112
|
test/analyzer/queries/openapi.test.ts > analyzer queries (OpenAPI) > discriminators > should discover `discriminator` usage within a definition that has it:
packages/oas/test/analyzer/queries/openapi.test.ts#L102
AssertionError: expected [ …(9) ] to strictly equal [ …(8) ]
- Expected
+ Received
Array [
+ "#/components/schemas/BaseVehicle/discriminator",
"#/components/schemas/Pet/discriminator",
"#/paths/~1discriminator-with-mapping/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1discriminator-with-no-mapping/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1improper-discriminator-placement/patch/requestBody/content/application~1json/schema/properties/connector_properties/discriminator",
"#/paths/~1mapping-of-schema-names/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1mapping-with-duplicate-schemas/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1oneof-allof-top-level-disc/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1potentially-undefined-formData/post/requestBody/content/application~1json/schema/discriminator",
]
❯ test/analyzer/queries/openapi.test.ts:102:54
|
test (latest)
Process completed with exit code 1.
|
test/index.test.ts > oas-to-snippet > supported languages > node > targets > api > should support snippet generation:
packages/oas-to-snippet/test/index.test.ts#L483
Error: Snapshot `oas-to-snippet > supported languages > node > targets > api > should support snippet generation 1` mismatched
- Expected
+ Received
{
- "code": "import sdk from '@api/developers';
+ "code": "import developers from '@api/developers';
- sdk.loginUser({username: 'woof', password: 'barkbarkbark'})
+ developers.loginUser({username: 'woof', password: 'barkbarkbark'})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));",
"highlightMode": "javascript",
- "install": "npx api install @developers/v2.0#17273l2glm9fq4l5",
+ "install": "npx api install "@developers/v2.0#17273l2glm9fq4l5"",
}
❯ test/index.test.ts:483:29
|
test/index.test.ts > oas-to-snippet > supported languages > node > targets > api > should support custom variable names:
packages/oas-to-snippet/test/index.test.ts#L505
Error: Snapshot `oas-to-snippet > supported languages > node > targets > api > should support custom variable names 1` mismatched
- Expected
+ Received
@@ -3,7 +3,7 @@
developers.loginUser({username: 'woof', password: 'barkbarkbark'})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));",
"highlightMode": "javascript",
- "install": "npx api install @developers/v2.0#17273l2glm9fq4l5",
+ "install": "npx api install "@developers/v2.0#17273l2glm9fq4l5"",
}
❯ test/index.test.ts:505:31
|
test/languages.test.ts > #getSupportedLanguages > should support external plugins:
packages/oas-to-snippet/test/languages.test.ts#L20
AssertionError: expected { name: 'API', …(1) } to strictly equal { name: 'API', …(1) }
- Expected
+ Received
Object {
- "install": "npx api install {packageName}",
+ "install": "npx api install \"{packageName}\"",
"name": "API",
}
❯ test/languages.test.ts:20:52
|
test/languages.test.ts > #getClientInstallationInstructions > should retrieve a templated `api` install command if the `api` plugin is loaded:
packages/oas-to-snippet/test/languages.test.ts#L45
AssertionError: expected 'npx api install "@developers/v2.0#172…' to be 'npx api install @developers/v2.0#1727…' // Object.is equality
- Expected
+ Received
- npx api install @developers/v2.0#17273l2glm9fq4l5
+ npx api install "@developers/v2.0#17273l2glm9fq4l5"
❯ test/languages.test.ts:45:112
|
test/analyzer/queries/openapi.test.ts > analyzer queries (OpenAPI) > discriminators > should discover `discriminator` usage within a definition that has it:
packages/oas/test/analyzer/queries/openapi.test.ts#L102
AssertionError: expected [ …(9) ] to strictly equal [ …(8) ]
- Expected
+ Received
Array [
+ "#/components/schemas/BaseVehicle/discriminator",
"#/components/schemas/Pet/discriminator",
"#/paths/~1discriminator-with-mapping/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1discriminator-with-no-mapping/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1improper-discriminator-placement/patch/requestBody/content/application~1json/schema/properties/connector_properties/discriminator",
"#/paths/~1mapping-of-schema-names/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1mapping-with-duplicate-schemas/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1oneof-allof-top-level-disc/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1potentially-undefined-formData/post/requestBody/content/application~1json/schema/discriminator",
]
❯ test/analyzer/queries/openapi.test.ts:102:54
|
test (lts/*)
Process completed with exit code 1.
|
test (lts/-1)
The job was canceled because "latest" failed.
|
test/index.test.ts > oas-to-snippet > supported languages > node > targets > api > should support snippet generation:
packages/oas-to-snippet/test/index.test.ts#L483
Error: Snapshot `oas-to-snippet > supported languages > node > targets > api > should support snippet generation 1` mismatched
- Expected
+ Received
{
- "code": "import sdk from '@api/developers';
+ "code": "import developers from '@api/developers';
- sdk.loginUser({username: 'woof', password: 'barkbarkbark'})
+ developers.loginUser({username: 'woof', password: 'barkbarkbark'})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));",
"highlightMode": "javascript",
- "install": "npx api install @developers/v2.0#17273l2glm9fq4l5",
+ "install": "npx api install "@developers/v2.0#17273l2glm9fq4l5"",
}
❯ test/index.test.ts:483:29
|
test/index.test.ts > oas-to-snippet > supported languages > node > targets > api > should support custom variable names:
packages/oas-to-snippet/test/index.test.ts#L505
Error: Snapshot `oas-to-snippet > supported languages > node > targets > api > should support custom variable names 1` mismatched
- Expected
+ Received
@@ -3,7 +3,7 @@
developers.loginUser({username: 'woof', password: 'barkbarkbark'})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));",
"highlightMode": "javascript",
- "install": "npx api install @developers/v2.0#17273l2glm9fq4l5",
+ "install": "npx api install "@developers/v2.0#17273l2glm9fq4l5"",
}
❯ test/index.test.ts:505:31
|
test/languages.test.ts > #getSupportedLanguages > should support external plugins:
packages/oas-to-snippet/test/languages.test.ts#L20
AssertionError: expected { name: 'API', …(1) } to strictly equal { name: 'API', …(1) }
- Expected
+ Received
Object {
- "install": "npx api install {packageName}",
+ "install": "npx api install \"{packageName}\"",
"name": "API",
}
❯ test/languages.test.ts:20:52
|
test/languages.test.ts > #getClientInstallationInstructions > should retrieve a templated `api` install command if the `api` plugin is loaded:
packages/oas-to-snippet/test/languages.test.ts#L45
AssertionError: expected 'npx api install "@developers/v2.0#172…' to be 'npx api install @developers/v2.0#1727…' // Object.is equality
- Expected
+ Received
- npx api install @developers/v2.0#17273l2glm9fq4l5
+ npx api install "@developers/v2.0#17273l2glm9fq4l5"
❯ test/languages.test.ts:45:112
|
test/analyzer/queries/openapi.test.ts > analyzer queries (OpenAPI) > discriminators > should discover `discriminator` usage within a definition that has it:
packages/oas/test/analyzer/queries/openapi.test.ts#L102
AssertionError: expected [ …(9) ] to strictly equal [ …(8) ]
- Expected
+ Received
Array [
+ "#/components/schemas/BaseVehicle/discriminator",
"#/components/schemas/Pet/discriminator",
"#/paths/~1discriminator-with-mapping/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1discriminator-with-no-mapping/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1improper-discriminator-placement/patch/requestBody/content/application~1json/schema/properties/connector_properties/discriminator",
"#/paths/~1mapping-of-schema-names/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1mapping-with-duplicate-schemas/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1oneof-allof-top-level-disc/patch/requestBody/content/application~1json/schema/discriminator",
"#/paths/~1potentially-undefined-formData/post/requestBody/content/application~1json/schema/discriminator",
]
❯ test/analyzer/queries/openapi.test.ts:102:54
|
test (lts/-1)
Process completed with exit code 1.
|
lint
Process completed with exit code 1.
|