@@ -72,11 +72,11 @@ describe('Extra test results', () => {
7272
7373 test ( 'Calling alert actually adds to alertResult' , async ( ) => {
7474 const { context } = await testSuccess ( `alert("hi"); alert("bye");` , Chapter . LIBRARY_PARSER )
75- expect ( context . alertResult ) . toMatchObject ( [ "hi" , 'bye' ] )
75+ expect ( context . alertResult ) . toMatchObject ( [ 'hi' , 'bye' ] )
7676 } )
7777
7878 test ( 'Calling draw_data actually adds to visualizeList' , async ( ) => {
79- const { context } = await testSuccess ( `draw_data(list(1, 2));` , Chapter . SOURCE_2 ) ;
79+ const { context } = await testSuccess ( `draw_data(list(1, 2));` , Chapter . SOURCE_2 )
8080 expect ( context . visualiseListResult ) . toMatchInlineSnapshot ( `
8181Array [
8282 Array [
@@ -101,7 +101,7 @@ describe('Test testing functions', () => {
101101 status : 'finished'
102102 } )
103103
104- return expect ( testSuccess ( '' ) . then ( ( { result : { value } } ) => value ) ) . resolves . toEqual ( 0 )
104+ return expect ( testSuccess ( '' ) . then ( ( { result : { value } } ) => value ) ) . resolves . toEqual ( 0 )
105105 } )
106106
107107 test ( 'Test testSuccess rejects on evaluation failure' , ( ) => {
@@ -117,7 +117,7 @@ describe('Test testing functions', () => {
117117 status : 'error'
118118 } )
119119
120- return expect ( testFailure ( '' ) ) . resolves . toEqual ( "" )
120+ return expect ( testFailure ( '' ) ) . resolves . toEqual ( '' )
121121 } )
122122
123123 test ( 'Test testFailure rejects on evaluation success' , ( ) => {
@@ -129,4 +129,4 @@ describe('Test testing functions', () => {
129129
130130 return expect ( testFailure ( '' ) ) . rejects . toThrow ( )
131131 } )
132- } )
132+ } )
0 commit comments