File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/compass-data-modeling/src/store Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 : [
You can’t perform that action at this time.
0 commit comments