Skip to content

Commit

Permalink
test: load tax schema extensions
Browse files Browse the repository at this point in the history
to fix integration test

Signed-off-by: Eric Dobbertin <[email protected]>
  • Loading branch information
aldeed committed Mar 14, 2019
1 parent bb4b0f7 commit 0491631
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions imports/node-app/devserver/extendSchemas.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "/imports/plugins/core/taxes/lib/extendCoreSchemas";
1 change: 1 addition & 0 deletions imports/node-app/devserver/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import queries from "./queries";
import resolvers from "./resolvers";
import schemas from "./schemas";
import filesStartup from "./filesStartup";
import "./extendSchemas";

const { MONGO_URL, PORT = 3030, ROOT_URL } = process.env;
if (!MONGO_URL) throw new Error("You must set MONGO_URL");
Expand Down
1 change: 1 addition & 0 deletions tests/TestApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import mutations from "../imports/node-app/devserver/mutations";
import queries from "../imports/node-app/devserver/queries";
import schemas from "../imports/node-app/devserver/schemas";
import resolvers from "../imports/node-app/devserver/resolvers";
import "../imports/node-app/devserver/extendSchemas";

class TestApp {
constructor(options = {}) {
Expand Down

0 comments on commit 0491631

Please sign in to comment.