import test from 'node:test' import assert from 'node:assert/strict' import { readFileSync } from 'node:fs' import ts from 'typescript' import { computed, nextTick, reactive, ref, watch } from 'vue' const source = readFileSync(new URL('../src/components/WarningActionDrawer.vue', import.meta.url), 'utf8') const script = ts.transpileModule(source.match(/