Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -15,7 +15,7 @@ import {
|
||||
const clientServerSourcePath = path.join(path.dirname(fileURLToPath(import.meta.url)), "./client.server.ts");
|
||||
const clientServerSource = () => readFileSync(clientServerSourcePath, "utf8");
|
||||
|
||||
describe("@toolctrl/db server client boundary", () => {
|
||||
describe("@hivegrid/db server client boundary", () => {
|
||||
it("exports a createDbClient factory from the package-owned generated client", () => {
|
||||
expect(createDbClient).toEqual(expect.any(Function));
|
||||
});
|
||||
@@ -42,7 +42,7 @@ describe("@toolctrl/db server client boundary", () => {
|
||||
it("wires database error diagnostics through the structured logger while preserving custom callbacks", () => {
|
||||
const source = clientServerSource();
|
||||
|
||||
expect(source).toContain('import { createChildLogger, defaultLogger } from "@toolctrl/logger";');
|
||||
expect(source).toContain('import { createChildLogger, defaultLogger } from "@hivegrid/logger";');
|
||||
expect(source).toContain('const dbLogger = createChildLogger(defaultLogger, { component: "db" });');
|
||||
expect(source).toContain('dbLogger.error({ error: event }, "database error");');
|
||||
expect(source).toContain("options.onError ?? logDatabaseError");
|
||||
|
||||
Reference in new issue
Block a user