Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ shallowReadonly.spec.ts
File
shallowReadonly.spec.ts
packages/reactivity/__tests__/shallowReadonly.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ isReactive, isReadonly, readonly, shallowReadonly } from
'../src'
2
3
describe(
'reactivity/shallowReadonly'
, () => {
4
test(
'should not make non-reactive properties reactive'
, () => {
Callers
nothing calls this directly
Calls
10
shallowReadonly
Function · 0.90
isReactive
Function · 0.90
readonly
Function · 0.90
isReadonly
Function · 0.90
toHaveBeenWarned
Method · 0.80
forEach
Method · 0.80
has
Method · 0.80
test
Function · 0.50
get
Method · 0.45
set
Method · 0.45
Tested by
no test coverage detected