Skip to content

Commit 110d837

Browse files
committed
refactor: disable warning for test
1 parent 5d55b5b commit 110d837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-i18n-core/src/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ export function createI18n(options: any = {}, VueI18nLegacy?: any): any {
553553
)
554554

555555
if (__DEV__) {
556-
if (__legacyMode && __allowComposition) {
556+
if (__legacyMode && __allowComposition && !__TEST__) {
557557
warn(getWarnMessage(I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION))
558558
}
559559
}

0 commit comments

Comments
 (0)