File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -218,11 +218,11 @@ describe("computed()", () => {
218
218
it ( "should not allow a computed signal to become a direct dependency of itself" , ( ) => {
219
219
const spy = sinon . spy ( ( ) => {
220
220
try {
221
- a . value
221
+ a . value ;
222
222
} catch {
223
223
// pass
224
224
}
225
- } )
225
+ } ) ;
226
226
const a = computed ( spy ) ;
227
227
a . value ;
228
228
expect ( ( ) => effect ( ( ) => a . value ) ) . to . not . throw ( ) ;
@@ -344,21 +344,21 @@ describe("computed()", () => {
344
344
} ) ;
345
345
346
346
e . value ;
347
- spy . resetHistory ( )
347
+ spy . resetHistory ( ) ;
348
348
349
349
a . value = 2 ;
350
350
b . value = 2 ;
351
351
c . value = 2 ;
352
352
e . value ;
353
353
expect ( spy ) . to . be . calledOnce ;
354
- spy . resetHistory ( )
354
+ spy . resetHistory ( ) ;
355
355
356
356
a . value = - 1 ;
357
357
b . value = - 1 ;
358
358
c . value = - 1 ;
359
359
e . value ;
360
360
expect ( spy ) . not . to . be . called ;
361
- spy . resetHistory ( )
361
+ spy . resetHistory ( ) ;
362
362
} ) ;
363
363
364
364
describe ( "graph updates" , ( ) => {
@@ -404,7 +404,7 @@ describe("computed()", () => {
404
404
compute . resetHistory ( ) ;
405
405
406
406
a . value = 4 ;
407
- e . value ;
407
+ d . value ;
408
408
expect ( compute ) . to . have . been . calledOnce ;
409
409
} ) ;
410
410
You can’t perform that action at this time.
0 commit comments