]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test(reactivity): bigint test for non-observable values (#6177)
authorzqran <215244947@qq.com>
Mon, 10 Jul 2023 09:51:30 +0000 (17:51 +0800)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 09:51:30 +0000 (17:51 +0800)
packages/reactivity/__tests__/reactive.spec.ts

index 51c9ed42c8ee98e17bdba77930aa0454119e4aa2..3026d63ba1c33b38c9fcb471391ff88d8aafe220 100644 (file)
@@ -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()