@@ -88,7 +88,9 @@ test('object literal', async () => {
8888 const name = ref ( 'kazupon' )
8989 const t = resolveDirective ( 't' )
9090 return ( ) => {
91- return withDirectives ( h ( 'p' ) , [ [ t , { path : 'hello' , locale : 'ja' , args : { name : name . value } } ] ] )
91+ return withDirectives ( h ( 'p' ) , [
92+ [ t , { path : 'hello' , locale : 'ja' , args : { name : name . value } } ]
93+ ] )
9294 }
9395 }
9496 } )
@@ -146,7 +148,9 @@ test('preserve modifier', async () => {
146148 const wrapper = await mount ( App , i18n )
147149
148150 expect ( mockWarn ) . toHaveBeenCalledTimes ( 1 )
149- expect ( mockWarn . mock . calls [ 0 ] [ 0 ] ) . toEqual ( getWarnMessage ( I18nWarnCodes . NOT_SUPPORTED_PRESERVE ) )
151+ expect ( mockWarn . mock . calls [ 0 ] [ 0 ] ) . toEqual (
152+ getWarnMessage ( I18nWarnCodes . NOT_SUPPORTED_PRESERVE )
153+ )
150154} )
151155
152156test ( 'legacy mode' , async ( ) => {
@@ -202,7 +206,9 @@ describe('errors', () => {
202206 } catch ( e ) {
203207 error = e
204208 }
205- expect ( error . message ) . toEqual ( errorMessages [ I18nErrorCodes . NOT_FOUND_COMPOSER ] )
209+ expect ( error . message ) . toEqual (
210+ errorMessages [ I18nErrorCodes . NOT_FOUND_COMPOSER ]
211+ )
206212 } )
207213
208214 test ( errorMessages [ I18nErrorCodes . REQUIRED_VALUE ] , async ( ) => {
@@ -231,7 +237,9 @@ describe('errors', () => {
231237 } catch ( e ) {
232238 error = e
233239 }
234- expect ( error . message ) . toEqual ( format ( errorMessages [ I18nErrorCodes . REQUIRED_VALUE ] , 'path' ) )
240+ expect ( error . message ) . toEqual (
241+ format ( errorMessages [ I18nErrorCodes . REQUIRED_VALUE ] , 'path' )
242+ )
235243 } )
236244
237245 test ( errorMessages [ I18nErrorCodes . INVALID_VALUE ] , async ( ) => {
0 commit comments