Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markkaylor committed Apr 2, 2024
1 parent 5ab00dd commit 1eb5ed7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { UID } from '@strapi/types';
import type { Struct, UID } from '@strapi/types';
import { scheduleJob } from 'node-schedule';
import { HISTORY_VERSION_UID } from '../../constants';
import { createHistoryService } from '../history';
Expand Down Expand Up @@ -188,7 +188,7 @@ describe('history-version service', () => {
title: {
type: 'string',
},
},
} as Struct.SchemaAttributes,
status: 'draft' as const,
};

Expand Down Expand Up @@ -216,7 +216,7 @@ describe('history-version service', () => {
title: {
type: 'string',
},
},
} as Struct.SchemaAttributes,
status: null,
};

Expand Down

0 comments on commit 1eb5ed7

Please sign in to comment.