File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
packages/compass-crud/src/stores Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -1265,22 +1265,14 @@ describe('store', function () {
12651265 // this should be invalid according to the validation rules
12661266 const jsonDoc = '{ "status": "testing" }' ;
12671267
1268- beforeEach ( async function ( ) {
1268+ beforeEach ( function ( ) {
12691269 store . state . insert . jsonView = true ;
12701270 store . state . insert . doc = hadronDoc ;
12711271 store . state . insert . jsonDoc = jsonDoc ;
1272- await dataService . updateCollection ( 'compass-crud.test' , {
1273- validator : { $jsonSchema : { required : [ 'abc' ] } } ,
1274- validationAction : 'error' ,
1275- validationLevel : 'strict' ,
1276- } ) ;
12771272 } ) ;
12781273
12791274 afterEach ( async function ( ) {
12801275 await dataService . deleteMany ( 'compass-crud.test' , { } ) ;
1281- await dataService . updateCollection ( 'compass-crud.test' , {
1282- validationLevel : 'off' ,
1283- } ) ;
12841276 } ) ;
12851277
12861278 it ( 'does not insert the document' , async function ( ) {
You can’t perform that action at this time.
0 commit comments