@@ -66,12 +66,12 @@ function makeContext() {
66
66
}
67
67
}
68
68
69
- describe ( 'Models - Temp Ids' , function ( ) {
69
+ describe ( 'Models - Temp Ids' , function ( ) {
70
70
beforeEach ( ( ) => {
71
71
clearModels ( )
72
72
} )
73
73
74
- it ( 'adds tempIds for items without an [idField]' , function ( ) {
74
+ it ( 'adds tempIds for items without an [idField]' , function ( ) {
75
75
const { makeServicePlugin, BaseModel } = feathersVuex ( feathersClient , {
76
76
idField : '_id' ,
77
77
serverAlias : 'temp-ids'
@@ -105,7 +105,7 @@ describe('Models - Temp Ids', function () {
105
105
assert ( desc . enumerable , 'it is enumerable' )
106
106
} )
107
107
108
- it ( 'allows specifying the value for the tempId' , function ( ) {
108
+ it ( 'allows specifying the value for the tempId' , function ( ) {
109
109
const context = makeContext ( )
110
110
const Comic = context . Comic
111
111
const oid = new ObjectID ( ) . toHexString ( )
@@ -116,7 +116,7 @@ describe('Models - Temp Ids', function () {
116
116
assert . equal ( comic . __id , oid , 'the objectid was used' )
117
117
} )
118
118
119
- it ( 'adds to state.tempsById' , function ( ) {
119
+ it ( 'adds to state.tempsById' , function ( ) {
120
120
const { makeServicePlugin, BaseModel } = feathersVuex ( feathersClient , {
121
121
idField : '_id' ,
122
122
serverAlias : 'temp-ids'
@@ -178,7 +178,7 @@ describe('Models - Temp Ids', function () {
178
178
assert ( Transaction . copiesById [ txn . __id ] , 'it is in the copiesById' )
179
179
} )
180
180
181
- it ( 'commits into store.tempsById' , function ( ) {
181
+ it ( 'commits into store.tempsById' , function ( ) {
182
182
const { makeServicePlugin, BaseModel } = feathersVuex ( feathersClient , {
183
183
idField : '_id' ,
184
184
serverAlias : 'temp-ids'
@@ -213,7 +213,7 @@ describe('Models - Temp Ids', function () {
213
213
assert . equal ( originalTemp . amount , 11.99 , 'original was updated' )
214
214
} )
215
215
216
- it ( 'can reset a temp clone' , function ( ) {
216
+ it ( 'can reset a temp clone' , function ( ) {
217
217
const { makeServicePlugin, BaseModel } = feathersVuex ( feathersClient , {
218
218
serverAlias : 'temp-ids'
219
219
} )
@@ -245,7 +245,7 @@ describe('Models - Temp Ids', function () {
245
245
assert . equal ( clone . amount , 1.99 , 'clone was reset' )
246
246
} )
247
247
248
- it ( 'returns the keyedById record after create, not the tempsById record' , function ( done ) {
248
+ it ( 'returns the keyedById record after create, not the tempsById record' , function ( done ) {
249
249
const { Comic, store } = makeContext ( )
250
250
251
251
const comic = new Comic ( {
0 commit comments