Skip to content

Commit 154df35

Browse files
jkrandom-sudojkrandomclaude
authored
test: replace hard-coded 0.8.1 version assertion with semver shape check (#28)
The pinned version assertion breaks on every release bump. Co-authored-by: jkrandom <admin@student.net> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent ff30b2a commit 154df35

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/package-exports.test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ const packageJson = JSON.parse(
66
await readFile(new URL("../package.json", import.meta.url), "utf8"),
77
)
88

9-
test("publishes the 0.8.1 release", () => {
10-
assert.equal(packageJson.version, "0.8.1")
9+
test("publishes the current release version", () => {
10+
assert.match(packageJson.version, /^\d+\.\d+\.\d+$/)
1111
})
1212

1313
test("publishes explicit server and TUI plugin entrypoints", () => {

0 commit comments

Comments
 (0)