Skip to content

Commit b927313

Browse files
committed
Fix adaptor in tests
1 parent 1f8bcbd commit b927313

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

__tests__/integration/queries.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as fs from "fs";
22
import * as path from "path";
33
import * as pg from "pg";
4+
import * as adaptor from "postgraphile/@dataplan/pg/adaptors/pg";
45

56
import { promisify } from "util";
67
import {
@@ -49,7 +50,7 @@ const createPostGraphileSchema = async (
4950
],
5051
pgServices: [
5152
{
52-
adaptor: "@dataplan/pg/adaptors/pg",
53+
adaptor,
5354
name: "main",
5455
withPgClientKey: "withPgClient",
5556
pgSettingsKey: "pgSettings",

__tests__/integration/schema/core.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as pg from "pg";
2+
import * as adaptor from "postgraphile/@dataplan/pg/adaptors/pg";
23
import { printSchemaOrdered, withPgClient } from "../../helpers";
34
import { postgraphilePresetAmber } from "postgraphile/presets/amber";
45
import { makeV4Preset, V4Options } from "postgraphile/presets/v4";
@@ -20,7 +21,7 @@ const createPostGraphileSchema = async (
2021
],
2122
pgServices: [
2223
{
23-
adaptor: "@dataplan/pg/adaptors/pg",
24+
adaptor,
2425
name: "main",
2526
withPgClientKey: "withPgClient",
2627
pgSettingsKey: "pgSettings",

0 commit comments

Comments
 (0)