@@ -20,14 +20,15 @@ vi.mock('../src/intl', async () => {
2020 }
2121} )
2222
23- import { createCoreContext as context , NOT_REOSLVED } from '../src/context'
24- import { datetime } from '../src/datetime'
25- import { CoreErrorCodes , errorMessages } from '../src/errors'
23+ import { compile } from '../src/compilation'
2624import {
27- registerMessageCompiler ,
28- registerLocaleFallbacker
25+ createCoreContext as context ,
26+ NOT_RESOLVED ,
27+ registerLocaleFallbacker ,
28+ registerMessageCompiler
2929} from '../src/context'
30- import { compile } from '../src/compilation'
30+ import { datetime } from '../src/datetime'
31+ import { CoreErrorCodes , errorMessages } from '../src/errors'
3132import { fallbackWithLocaleChain } from '../src/fallbacker'
3233
3334import type { DateTimeFormats } from '../src/types'
@@ -265,7 +266,7 @@ describe('context unresolving option', () => {
265266 datetimeFormats
266267 } )
267268
268- expect ( datetime ( ctx , dt , 'long' ) ) . toEqual ( NOT_REOSLVED )
269+ expect ( datetime ( ctx , dt , 'long' ) ) . toEqual ( NOT_RESOLVED )
269270 expect ( mockWarn ) . not . toHaveBeenCalled ( )
270271 } )
271272
@@ -284,7 +285,7 @@ describe('context unresolving option', () => {
284285 datetimeFormats
285286 } )
286287
287- expect ( datetime ( ctx , dt , 'custom' ) ) . toEqual ( NOT_REOSLVED )
288+ expect ( datetime ( ctx , dt , 'custom' ) ) . toEqual ( NOT_RESOLVED )
288289 expect ( mockWarn ) . not . toHaveBeenCalled ( )
289290 } )
290291} )
0 commit comments