MCPcopy Create free account
hub / github.com/vuejs/test-utils / TestClass

Class TestClass

tests/setData.spec.ts:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 it('should retain prototype methods for constructed objects when calling setData', async () => {
201 const expectedResult = 'success!'
202 class TestClass {
203 constructor(readonly name: string) {}
204 getResult(): string {
205 return expectedResult
206 }
207 }
208
209 const wrapper = mount(
210 defineComponent({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…