mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
fix(hexclave): update clientApp.version regex for @hexclave/js sentinel
apps/e2e/tests/js/auth-like.test.ts:68 asserts clientApp.version matches `^js @stackframe/js@…`, but the build-time sentinel is stamped from packages/js/package.json's `name` field (configs/tsdown/plugins.ts:10), which PR 3 renamed @stackframe/js → @hexclave/js. Post-rename the sentinel is `js @hexclave/js@1.0.0` (or 1.0.1 after auto-bump), so the old regex fails. Caught by a follow-up reviewer pass — the published-artifact sentinel is the most direct observable that's affected by a source-name rename, and this is the one e2e test that asserts on it directly.
This commit is contained in:
parent
c59643855d
commit
e50c9293a2
@ -65,7 +65,7 @@ it("clientApp.version should return a valid version string", async ({ expect })
|
||||
const { clientApp } = await createApp({});
|
||||
expect(clientApp.version).toBeDefined();
|
||||
expect(typeof clientApp.version).toBe("string");
|
||||
expect(clientApp.version).toMatch(/^js @stackframe\/js@\d+\.\d+\.\d+/);
|
||||
expect(clientApp.version).toMatch(/^js @hexclave\/js@\d+\.\d+\.\d+/);
|
||||
});
|
||||
|
||||
it("serverApp.version should return the same version as clientApp", async ({ expect }) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user