Skip to content

Commit 3b599cf

Browse files
committed
fix: update tests with new state
1 parent 1915d77 commit 3b599cf

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

test/service-module/make-service-plugin.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ describe('makeServicePlugin', function() {
8888
servicePath: 'todos',
8989
skipRequestIfExists: false,
9090
tempsById: {},
91-
whitelist: []
91+
whitelist: [],
92+
isIdCreatePending: [],
93+
isIdUpdatePending: [],
94+
isIdPatchPending: [],
95+
isIdRemovePending: [],
9296
}
9397

9498
assert.deepEqual(_omit(received), _omit(expected), 'defaults in place.')

test/service-module/service-module.reinitialization.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ describe('Service Module - Reinitialization', function() {
8989
servicePath: 'todos',
9090
skipRequestIfExists: false,
9191
tempsById: {},
92-
whitelist: []
92+
whitelist: [],
93+
isIdCreatePending: [],
94+
isIdUpdatePending: [],
95+
isIdPatchPending: [],
96+
isIdRemovePending: [],
9397
}
9498

9599
assert.deepEqual(

test/service-module/service-module.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,11 @@ describe('Service Module', function() {
663663
defaultSkip: null
664664
},
665665
paramsForServer: ['$populateParams'],
666-
whitelist: []
666+
whitelist: [],
667+
isIdCreatePending: [],
668+
isIdUpdatePending: [],
669+
isIdPatchPending: [],
670+
isIdRemovePending: [],
667671
}
668672

669673
assert.deepEqual(

0 commit comments

Comments
 (0)