@cypress/json-schemas
Advanced tools
Comparing version 5.35.1 to 5.35.2
@@ -470,3 +470,20 @@ "use strict"; | ||
}); | ||
var GetRunResponse = schema_tools_1.versionSchemas(GetRunResponse100, GetRunResponse200, GetRunResponse210, GetRunResponse220, GetRunResponse230, GetRunResponse240, GetRunResponse250); | ||
var getRunResponseExample260 = Object.assign({}, getRunResponseExample250, { | ||
instances: [instance_1.instanceExample250], | ||
}); | ||
var GetRunResponse260 = schema_tools_1.extend(GetRunResponse250, { | ||
schema: { | ||
description: 'Run response with totalFlakyTests info on instances', | ||
properties: { | ||
instances: { | ||
type: 'array', | ||
description: 'Summary of individual instances', | ||
items: __assign({}, instance_1.Instance250.schema), | ||
see: instance_1.Instance250, | ||
}, | ||
}, | ||
}, | ||
example: getRunResponseExample260, | ||
}); | ||
var GetRunResponse = schema_tools_1.versionSchemas(GetRunResponse100, GetRunResponse200, GetRunResponse210, GetRunResponse220, GetRunResponse230, GetRunResponse240, GetRunResponse250, GetRunResponse260); | ||
exports.GetRunResponse = GetRunResponse; |
@@ -73,3 +73,8 @@ import { ObjectSchema } from '@cypress/schema-tools'; | ||
declare const Instance240: ObjectSchema; | ||
export declare type InstanceExample250 = InstanceExample240 & { | ||
totalFlakyTests: number | null; | ||
}; | ||
declare const instanceExample250: InstanceExample250; | ||
declare const Instance250: ObjectSchema; | ||
declare const Instance: import("@cypress/schema-tools").VersionedSchema; | ||
export { Instance, Instance100, Instance200, Instance210, Instance220, Instance230, Instance240, instanceExample100, instanceExample200, instanceExample210, instanceExample220, instanceExample230, instanceExample240, }; | ||
export { Instance, Instance100, Instance200, Instance210, Instance220, Instance230, Instance240, Instance250, instanceExample100, instanceExample200, instanceExample210, instanceExample220, instanceExample230, instanceExample240, instanceExample250, }; |
@@ -14,3 +14,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.instanceExample240 = exports.instanceExample230 = exports.instanceExample220 = exports.instanceExample210 = exports.instanceExample200 = exports.instanceExample100 = exports.Instance240 = exports.Instance230 = exports.Instance220 = exports.Instance210 = exports.Instance200 = exports.Instance100 = exports.Instance = void 0; | ||
exports.instanceExample250 = exports.instanceExample240 = exports.instanceExample230 = exports.instanceExample220 = exports.instanceExample210 = exports.instanceExample200 = exports.instanceExample100 = exports.Instance250 = exports.Instance240 = exports.Instance230 = exports.Instance220 = exports.Instance210 = exports.Instance200 = exports.Instance100 = exports.Instance = void 0; | ||
var schema_tools_1 = require("@cypress/schema-tools"); | ||
@@ -371,3 +371,19 @@ var formats_1 = require("../formats"); | ||
exports.Instance240 = Instance240; | ||
var Instance = schema_tools_1.versionSchemas(Instance100, Instance200, Instance210, Instance220, Instance230, Instance240); | ||
var instanceExample250 = Object.assign({}, instanceExample240, { | ||
totalFlakyTests: 1, | ||
}); | ||
exports.instanceExample250 = instanceExample250; | ||
var Instance250 = schema_tools_1.extend(Instance240, { | ||
description: 'Includes totalFlakyTests', | ||
schema: { | ||
properties: { | ||
totalFlakyTests: { | ||
type: ['integer', 'null'], | ||
}, | ||
}, | ||
}, | ||
example: instanceExample250, | ||
}); | ||
exports.Instance250 = Instance250; | ||
var Instance = schema_tools_1.versionSchemas(Instance100, Instance200, Instance210, Instance220, Instance230, Instance240, Instance250); | ||
exports.Instance = Instance; |
@@ -212,2 +212,11 @@ import { ObjectSchema, PlainObject } from '@cypress/schema-tools'; | ||
export declare const TestRunnerTest110: ObjectSchema; | ||
export declare type TestRunnerTestErrorCodeFrameExample100 = { | ||
line: number | null; | ||
column: number | null; | ||
originalFile: string; | ||
relativeFile: string; | ||
absoluteFile: string; | ||
frame: string; | ||
language: string; | ||
}; | ||
export declare type TestRunnerTestErrorExample100 = { | ||
@@ -217,2 +226,3 @@ name: string | null; | ||
stack: string | null; | ||
codeFrame?: TestRunnerTestErrorCodeFrameExample100 | null; | ||
}; | ||
@@ -227,5 +237,50 @@ export declare type TestRunnerTestAttemptExample100 = Pick<TestRunnerTestExample100, 'state' | 'videoTimestamp' | 'wallClockDuration' | 'wallClockStartedAt' | 'failedFromHookId'> & { | ||
}; | ||
export declare const testRunnerTestErrorCodeFrameExample100: TestRunnerTestErrorCodeFrameExample100; | ||
export declare const testRunnerTestErrorExample100: TestRunnerTestErrorExample100; | ||
export declare const testRunnerTestAttemptExample100: TestRunnerTestAttemptExample100; | ||
export declare const testRunnerTestExample200: TestRunnerTestExample200; | ||
export declare const TestRunnerTestErrorCodeFrame100: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
export declare const TestRunnerTestError100: { | ||
@@ -254,2 +309,83 @@ version: { | ||
}; | ||
codeFrame: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
required: false; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
}; | ||
@@ -273,2 +409,209 @@ additionalProperties: true; | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
name: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
message: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
stack: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
codeFrame: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
required: false; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
title: string; | ||
description: string; | ||
properties: { | ||
name: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
message: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
stack: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
codeFrame: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
required: false; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
@@ -338,2 +681,209 @@ timings: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
name: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
message: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
stack: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
codeFrame: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
required: false; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
title: string; | ||
description: string; | ||
properties: { | ||
name: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
message: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
stack: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
codeFrame: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
required: false; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
@@ -392,2 +942,209 @@ timings: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
name: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
message: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
stack: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
codeFrame: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
required: false; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
title: string; | ||
description: string; | ||
properties: { | ||
name: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
message: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
stack: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
codeFrame: { | ||
type: string[]; | ||
see: { | ||
version: { | ||
major: number; | ||
minor: number; | ||
patch: number; | ||
}; | ||
schema: { | ||
type: "object"; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
example: TestRunnerTestErrorExample100; | ||
}; | ||
required: false; | ||
title: string; | ||
description: string; | ||
properties: { | ||
line: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
column: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
originalFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
relativeFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
absoluteFile: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
frame: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
language: { | ||
type: string[]; | ||
description: string; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
}; | ||
additionalProperties: true; | ||
}; | ||
@@ -394,0 +1151,0 @@ timings: { |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TestRunnerTest = exports.TestRunnerTest200 = exports.TestRunnerTestAttempt100 = exports.TestRunnerTestError100 = exports.testRunnerTestExample200 = exports.testRunnerTestAttemptExample100 = exports.testRunnerTestErrorExample100 = exports.TestRunnerTest110 = exports.TestRunnerTest100 = exports.CommonTestPropertiesV1 = exports.CommonTestProperties = exports.BaseTestExecutionProperties = exports.BaseTestProperties = exports.testRunnerTestExample110 = exports.testRunnerTestExample100 = void 0; | ||
exports.TestRunnerTest = exports.TestRunnerTest200 = exports.TestRunnerTestAttempt100 = exports.TestRunnerTestError100 = exports.TestRunnerTestErrorCodeFrame100 = exports.testRunnerTestExample200 = exports.testRunnerTestAttemptExample100 = exports.testRunnerTestErrorExample100 = exports.testRunnerTestErrorCodeFrameExample100 = exports.TestRunnerTest110 = exports.TestRunnerTest100 = exports.CommonTestPropertiesV1 = exports.CommonTestProperties = exports.BaseTestExecutionProperties = exports.BaseTestProperties = exports.testRunnerTestExample110 = exports.testRunnerTestExample100 = void 0; | ||
var lodash_merge_1 = __importDefault(require("lodash.merge")); | ||
@@ -133,2 +133,11 @@ var schema_tools_1 = require("@cypress/schema-tools"); | ||
}); | ||
exports.testRunnerTestErrorCodeFrameExample100 = { | ||
line: 7, | ||
column: 8, | ||
originalFile: 'cypress/integration/spec.js', | ||
relativeFile: 'cypress/integration/spec.js', | ||
absoluteFile: '/path/to/cypress/integration/spec.js', | ||
frame: " 5 | \n 6 | it('fails', () => {\n> 7 | cy.get('nope', { timeout: 1 })\n | ^\n 8 | })\n 9 | })\n 10 | ", | ||
language: 'js', | ||
}; | ||
exports.testRunnerTestErrorExample100 = { | ||
@@ -138,5 +147,50 @@ name: 'AssertionError', | ||
stack: '<stack trace>', | ||
codeFrame: __assign({}, exports.testRunnerTestErrorCodeFrameExample100), | ||
}; | ||
exports.testRunnerTestAttemptExample100 = __assign({ error: exports.testRunnerTestErrorExample100, timings: testRunnerTestCommonV1.timings }, testRunnerTestCommon); | ||
exports.testRunnerTestExample200 = __assign(__assign({ testId: 'r4', title: ['simple failing hook spec', 'beforeEach hooks', 'never gets here'], body: 'function () {}' }, lodash_1.default.omit(testRunnerTestCommon, 'error', 'timings', 'stack', 'videoTimestamp', 'wallClockDuration', 'failedFromHookId', 'wallClockStartedAt')), { displayError: 'Attempt #1-3: AssertionError: expected #greeting to include \'Hi brian-mann\' <stack trace>', attempts: [exports.testRunnerTestAttemptExample100] }); | ||
exports.TestRunnerTestErrorCodeFrame100 = util_1.objSchema({ | ||
version: { | ||
major: 1, | ||
minor: 0, | ||
patch: 0, | ||
}, | ||
schema: { | ||
type: 'object', | ||
title: 'testRunner.testErrorCodeFrame', | ||
description: 'Formatted code frame from the error', | ||
properties: { | ||
line: { | ||
type: ['integer', 'null'], | ||
description: 'Line of the highlight error', | ||
}, | ||
column: { | ||
type: ['integer', 'null'], | ||
description: 'Column of the error on the code frame', | ||
}, | ||
originalFile: { | ||
type: ['string', 'null'], | ||
description: 'Original file of the code frame', | ||
}, | ||
relativeFile: { | ||
type: ['string', 'null'], | ||
description: 'Relative file of the code frame', | ||
}, | ||
absoluteFile: { | ||
type: ['string', 'null'], | ||
description: 'Absolute file of the code frame', | ||
}, | ||
frame: { | ||
type: ['string', 'null'], | ||
description: 'Code frame', | ||
}, | ||
language: { | ||
type: ['string', 'null'], | ||
description: 'Language of the code frame', | ||
}, | ||
}, | ||
additionalProperties: true, | ||
}, | ||
example: exports.testRunnerTestErrorExample100, | ||
}); | ||
exports.TestRunnerTestError100 = util_1.objSchema({ | ||
@@ -165,2 +219,3 @@ version: { | ||
}, | ||
codeFrame: __assign(__assign({}, exports.TestRunnerTestErrorCodeFrame100.schema), { type: ['object', 'null'], see: exports.TestRunnerTestErrorCodeFrame100, required: false }), | ||
}, | ||
@@ -181,5 +236,3 @@ additionalProperties: true, | ||
description: 'An attempt at running a test', | ||
properties: __assign(__assign(__assign({}, exports.BaseTestProperties), exports.BaseTestExecutionProperties), { error: { | ||
type: ['object', 'null'], | ||
}, timings: exports.CommonTestPropertiesV1.timings }), | ||
properties: __assign(__assign(__assign({}, exports.BaseTestProperties), exports.BaseTestExecutionProperties), { error: __assign(__assign({}, exports.TestRunnerTestError100.schema), { type: ['object', 'null'], see: exports.TestRunnerTestError100 }), timings: exports.CommonTestPropertiesV1.timings }), | ||
additionalProperties: false, | ||
@@ -186,0 +239,0 @@ }, |
{ | ||
"name": "@cypress/json-schemas", | ||
"version": "5.35.1", | ||
"version": "5.35.2", | ||
"description": "Cypress JSON schemas", | ||
@@ -27,3 +27,3 @@ "main": "dist", | ||
"dependencies": { | ||
"@cypress/schema-tools": "4.7.5", | ||
"@cypress/schema-tools": "4.7.7", | ||
"lodash.clonedeep": "^4.5.0", | ||
@@ -34,4 +34,4 @@ "lodash.merge": "^4.6.2", | ||
"devDependencies": { | ||
"@cypress/eslint-plugin-dev": "5.0.0", | ||
"@types/node": "9.6.59", | ||
"@cypress/eslint-plugin-dev": "5.0.2", | ||
"@types/node": "9.6.61", | ||
"@types/ramda": "0.25.47", | ||
@@ -38,0 +38,0 @@ "@typescript-eslint/eslint-plugin": "2.34.0", |
193067
5098
+ Added@cypress/schema-tools@4.7.7(transitive)
+ Addeddebug@4.3.1(transitive)
- Removed@cypress/schema-tools@4.7.5(transitive)
- Removeddebug@4.2.0(transitive)
Updated@cypress/schema-tools@4.7.7