feat: introduce DummyConnection class for testing purposes

This commit is contained in:
dswbx
2025-09-21 14:20:07 +02:00
parent 99c1645411
commit 5e62e681e7
2 changed files with 14 additions and 3 deletions

View File

@@ -230,3 +230,15 @@ export function customIntrospector<T extends Constructor<Dialect>>(
},
};
}
export class DummyConnection extends Connection {
override name = "dummy";
constructor() {
super(undefined as any);
}
override getFieldSchema(): SchemaResponse {
throw new Error("Method not implemented.");
}
}