mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
feat: introduce DummyConnection class for testing purposes
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user