From: zqran <215244947@qq.com> Date: Mon, 10 Jul 2023 09:51:30 +0000 (+0800) Subject: test(reactivity): bigint test for non-observable values (#6177) X-Git-Tag: v3.3.5~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=924069891e30c3f453f7047d7296a2c62c506280;p=thirdparty%2Fvuejs%2Fcore.git test(reactivity): bigint test for non-observable values (#6177) --- diff --git a/packages/reactivity/__tests__/reactive.spec.ts b/packages/reactivity/__tests__/reactive.spec.ts index 51c9ed42c8..3026d63ba1 100644 --- a/packages/reactivity/__tests__/reactive.spec.ts +++ b/packages/reactivity/__tests__/reactive.spec.ts @@ -233,6 +233,9 @@ describe('reactivity/reactive', () => { // symbol const s = Symbol() assertValue(s) + // bigint + const bn = BigInt('9007199254740991') + assertValue(bn) // built-ins should work and return same value const p = Promise.resolve()