File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11// @ts -check
22const pg = require ( "pg" ) ;
33const { readFile } = require ( "fs" ) ;
4- const pgConnectionString = require ( "pg-connection-string" ) ;
54
65// This test suite can be flaky. Increase it’s timeout.
76jest . setTimeout ( 1000 * 20 ) ;
Original file line number Diff line number Diff line change 11// @ts -check
22const core = require ( "./core" ) ;
3+ const { default : PgOrderByRelatedPlugin } = require ( "../../../dist/index.js" ) ;
34
45test (
56 "prints a schema with the order-by-related plugin" ,
67 core . test ( [ "p" ] , {
7- appendPlugins : [ require ( "../../../dist/index.js" ) ] ,
8+ appendPlugins : [ PgOrderByRelatedPlugin ] ,
89 disableDefaultMutations : true ,
910 legacyRelations : "omit" ,
1011 graphileBuildOptions : {
Original file line number Diff line number Diff line change 11// @ts -check
22const core = require ( "./core" ) ;
3+ const { default : PgOrderByRelatedPlugin } = require ( "../../../dist/index.js" ) ;
34
45test (
56 "prints a schema with `ignoreIndexes: false`" ,
67 core . test ( [ "p" ] , {
7- appendPlugins : [ require ( "../../../dist/index.js" ) ] ,
8+ appendPlugins : [ PgOrderByRelatedPlugin ] ,
89 disableDefaultMutations : true ,
910 legacyRelations : "omit" ,
1011 ignoreIndexes : false ,
Original file line number Diff line number Diff line change 11// @ts -check
22const core = require ( "./core" ) ;
3+ const { default : PgOrderByRelatedPlugin } = require ( "../../../dist/index.js" ) ;
34
45test (
56 "prints a schema with the order-by-related plugin" ,
67 core . test ( [ "p" ] , {
7- appendPlugins : [ require ( "../../../dist/index.js" ) ] ,
8+ appendPlugins : [ PgOrderByRelatedPlugin ] ,
89 disableDefaultMutations : true ,
910 legacyRelations : "omit" ,
1011 } )
You can’t perform that action at this time.
0 commit comments