Skip to content

Commit 3cecf6c

Browse files
committed
fix tests
1 parent a81001b commit 3cecf6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/tests/enhancements/with-delegate/plugin-interaction.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ describe('Polymorphic Plugin Interaction Test', () => {
6565
id: 1,
6666
assetType: 'video',
6767
createdAt: new Date(),
68+
updatedAt: new Date(),
6869
viewCount: 100,
6970
})
7071
).toBeTruthy();
@@ -74,6 +75,7 @@ describe('Polymorphic Plugin Interaction Test', () => {
7475
id: 1,
7576
assetType: 'video',
7677
createdAt: new Date(),
78+
updatedAt: new Date(),
7779
viewCount: 100,
7880
videoType: 'ratedVideo', // should be stripped
7981
}).videoType
@@ -87,6 +89,7 @@ describe('Polymorphic Plugin Interaction Test', () => {
8789
duration: 100,
8890
url: 'http://example.com',
8991
createdAt: new Date(),
92+
updatedAt: new Date(),
9093
viewCount: 100,
9194
})
9295
).toBeTruthy();
@@ -98,6 +101,7 @@ describe('Polymorphic Plugin Interaction Test', () => {
98101
videoType: 'ratedVideo',
99102
url: 'http://example.com',
100103
createdAt: new Date(),
104+
updatedAt: new Date(),
101105
viewCount: 100,
102106
})
103107
).toThrow('duration');

0 commit comments

Comments
 (0)