Skip to content

Commit 887a91d

Browse files
committed
fix types in test
1 parent 253d68c commit 887a91d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/compass-data-modeling/src/store/diagram.spec.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,10 @@ describe('Data Modeling store', function () {
299299

300300
describe('selectFieldsForCurrentModel', function () {
301301
it('should select fields from a flat schema', function () {
302-
const edits: Edit[] = [
302+
const edits: MongoDBDataModelDescription['edits'] = [
303303
{
304+
id: 'first-edit',
305+
timestamp: new Date().toISOString(),
304306
type: 'SetModel',
305307
model: {
306308
collections: [
@@ -331,8 +333,10 @@ describe('Data Modeling store', function () {
331333
});
332334

333335
it('should select fields from a nested schema', function () {
334-
const edits: Edit[] = [
336+
const edits: MongoDBDataModelDescription['edits'] = [
335337
{
338+
id: 'first-edit',
339+
timestamp: new Date().toISOString(),
336340
type: 'SetModel',
337341
model: {
338342
collections: [

0 commit comments

Comments
 (0)