diff --git a/tests/vue-sonner.ts b/tests/vue-sonner.ts new file mode 100644 index 0000000..0c3ebb8 --- /dev/null +++ b/tests/vue-sonner.ts @@ -0,0 +1,16 @@ +import { runInRepo } from '../utils.ts' +import { RunOptions } from '../types.ts' + +export async function test(options: RunOptions) { + await runInRepo({ + ...options, + repo: 'xiaoluoboding/vue-sonner', + branch: 'main', + build: ['build:lib'], + beforeTest: [ + 'cd test && pnpm i', + 'cd test && pnpm playwright-core install chromium', + ], + test: ['cd test && pnpm test:e2e'], + }) +}