@@ -20,15 +20,15 @@ vi.mock('../src/intl', async () => {
2020 }
2121} )
2222
23- import { createCoreContext as context , NOT_REOSLVED } from '../src/context'
24- import { number } from '../src/number'
25- import { CoreErrorCodes , errorMessages } from '../src/errors'
23+ import { compile } from '../src/compilation'
2624import {
27- registerMessageCompiler ,
28- registerLocaleFallbacker
25+ createCoreContext as context ,
26+ registerLocaleFallbacker ,
27+ registerMessageCompiler
2928} from '../src/context'
30- import { compile } from '../src/compilation '
29+ import { CoreErrorCodes , errorMessages } from '../src/errors '
3130import { fallbackWithLocaleChain } from '../src/fallbacker'
31+ import { number } from '../src/number'
3232import { NumberFormats } from '../src/types/index'
3333
3434type MyNumberSchema = {
@@ -238,7 +238,7 @@ describe('context unresolving option', () => {
238238 numberFormats
239239 } )
240240
241- expect ( number ( ctx , 0.99 , 'percent' ) ) . toEqual ( NOT_REOSLVED )
241+ expect ( number ( ctx , 0.99 , 'percent' ) ) . toEqual ( NOT_RESOLVED )
242242 expect ( mockWarn ) . not . toHaveBeenCalled ( )
243243 } )
244244
@@ -257,7 +257,7 @@ describe('context unresolving option', () => {
257257 numberFormats
258258 } )
259259
260- expect ( number ( ctx , 123456789 , 'custom' ) ) . toEqual ( NOT_REOSLVED )
260+ expect ( number ( ctx , 123456789 , 'custom' ) ) . toEqual ( NOT_RESOLVED )
261261 expect ( mockWarn ) . not . toHaveBeenCalled ( )
262262 } )
263263} )
0 commit comments