Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
don't use nodemon for test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
johnymontana committed Feb 3, 2021
1 parent f416d80 commit c1659a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "./dist/index.js",
"scripts": {
"start": "nodemon ./examples/index.js --exec babel-node -e js",
"start-test-setup": "nodemon ./test/helpers/test-setup.js --exec babel-node -e js",
"start-test-setup": "babel-node ./test/helpers/test-setup.js",
"test": "ava test/*.js",
"build": "babel src --out-dir dist",
"precommit": "lint-staged",
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/test-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const dotenv = require("dotenv");

dotenv.config();

export const typeDefs = `
const typeDefs = `
directive @hasScope(scopes: [String]) on OBJECT | FIELD_DEFINITION
directive @hasRole(roles: [Role]) on OBJECT | FIELD_DEFINITION
Expand Down

0 comments on commit c1659a4

Please sign in to comment.