Commit b9c2c30
committed
test(cli): assert on runner-agnostic suffix of migrateNotImplemented
`migrateNotImplemented` was converted from a string to a runner-aware
factory in 6cc47d2; the existing E2E assertion still passed it as a
string to `toContain`, which then matched against the printed function
name instead of the warning text. Local unit tests use a separate
vitest config and didn't catch it; the CLI E2E job did.
Switch the assertion to the stable runner-agnostic suffix
`'stash db migrate" is not yet implemented.'` — works under any
runner the test environment detects (pnpm dlx in CI, npm/npx
locally).1 parent 6cc47d2 commit b9c2c30
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
0 commit comments