ci: Update most of the dev tooling (no-changelog) (#6780)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-07-28 13:55:16 +02:00
committed by GitHub
parent d2bbdaa58a
commit 7461085408
43 changed files with 3275 additions and 3280 deletions

View File

@@ -22,8 +22,8 @@ const defaultFilterState: ExecutionFilterType = {
const workflowDataFactory = (): IWorkflowShortResponse => ({
createdAt: faker.date.past().toDateString(),
updatedAt: faker.date.past().toDateString(),
id: faker.datatype.uuid(),
name: faker.datatype.string(),
id: faker.string.uuid(),
name: faker.string.sample(),
active: faker.datatype.boolean(),
tags: [],
});
@@ -68,7 +68,7 @@ describe('ExecutionFilter', () => {
() =>
({
track,
} as unknown as Telemetry),
}) as unknown as Telemetry,
);
const { getByTestId } = renderComponent({
@@ -92,7 +92,7 @@ describe('ExecutionFilter', () => {
['production', 'default', false, undefined],
['production', 'default', true, workflowsData],
])(
'renders in %s environment on %s deployment with advancedExecutionFilters %s and workflows %s',
'renders in %s environment on %s deployment with advancedExecutionFilters %s',
async (environment, deployment, advancedExecutionFilters, workflows) => {
const { html, getByTestId, queryByTestId, queryAllByTestId } = renderComponent({
props: { workflows },

View File

@@ -21,7 +21,7 @@ const generateUndefinedNullOrString = () => {
case 1:
return null;
case 2:
return faker.datatype.uuid();
return faker.string.uuid();
case 3:
return '';
default:
@@ -32,23 +32,23 @@ const generateUndefinedNullOrString = () => {
const workflowDataFactory = (): IWorkflowDb => ({
createdAt: faker.date.past().toDateString(),
updatedAt: faker.date.past().toDateString(),
id: faker.datatype.uuid(),
name: faker.datatype.string(),
id: faker.string.uuid(),
name: faker.string.sample(),
active: faker.datatype.boolean(),
tags: [],
nodes: [],
connections: {},
versionId: faker.datatype.number().toString(),
versionId: faker.number.int().toString(),
});
const executionDataFactory = (): IExecutionsSummary => ({
id: faker.datatype.uuid(),
id: faker.string.uuid(),
finished: faker.datatype.boolean(),
mode: faker.helpers.arrayElement(['manual', 'trigger']),
startedAt: faker.date.past(),
stoppedAt: faker.date.past(),
workflowId: faker.datatype.number().toString(),
workflowName: faker.datatype.string(),
workflowId: faker.number.int().toString(),
workflowName: faker.string.sample(),
status: faker.helpers.arrayElement(['failed', 'success']),
nodeExecutionStatus: {},
retryOf: generateUndefinedNullOrString(),

View File

@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`RunDataJson.vue > renders json values properly 1`] = `
<div>

View File

@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`RunDataJsonSchema.vue > renders schema for data 1`] = `
<div>