@@ -20,14 +20,15 @@ vi.mock('../src/intl', async () => {
20
20
}
21
21
} )
22
22
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'
26
24
import {
27
- registerMessageCompiler ,
28
- registerLocaleFallbacker
25
+ createCoreContext as context ,
26
+ NOT_RESOLVED ,
27
+ registerLocaleFallbacker ,
28
+ registerMessageCompiler
29
29
} from '../src/context'
30
- import { compile } from '../src/compilation'
30
+ import { datetime } from '../src/datetime'
31
+ import { CoreErrorCodes , errorMessages } from '../src/errors'
31
32
import { fallbackWithLocaleChain } from '../src/fallbacker'
32
33
33
34
import type { DateTimeFormats } from '../src/types'
@@ -265,7 +266,7 @@ describe('context unresolving option', () => {
265
266
datetimeFormats
266
267
} )
267
268
268
- expect ( datetime ( ctx , dt , 'long' ) ) . toEqual ( NOT_REOSLVED )
269
+ expect ( datetime ( ctx , dt , 'long' ) ) . toEqual ( NOT_RESOLVED )
269
270
expect ( mockWarn ) . not . toHaveBeenCalled ( )
270
271
} )
271
272
@@ -284,7 +285,7 @@ describe('context unresolving option', () => {
284
285
datetimeFormats
285
286
} )
286
287
287
- expect ( datetime ( ctx , dt , 'custom' ) ) . toEqual ( NOT_REOSLVED )
288
+ expect ( datetime ( ctx , dt , 'custom' ) ) . toEqual ( NOT_RESOLVED )
288
289
expect ( mockWarn ) . not . toHaveBeenCalled ( )
289
290
} )
290
291
} )
0 commit comments