Skip to content

Commit

Permalink
Raise test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
LachlanStuart committed May 13, 2020
1 parent ac7520a commit 4c62bfe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions metaspace/graphql/package.json
Expand Up @@ -126,6 +126,7 @@
"node"
],
"testEnvironment": "node",
"testTimeout": 15000,
"setupFilesAfterEnv": [
"<rootDir>/src/tests/setupTestFramework.ts"
],
Expand Down
2 changes: 1 addition & 1 deletion metaspace/graphql/src/tests/globalSetup.ts
Expand Up @@ -3,7 +3,7 @@ import config from '../utils/config';
import {createConnection} from '../utils/db';
import {DbSchemaName} from '../utils/typeOrmConfig';

module.exports = async () => {
export = async () => {

if (config.db.database === 'sm'
|| config.util.getConfigSources().some(({name}) => name.endsWith('development.js') || name.endsWith('production.js'))) {
Expand Down
2 changes: 1 addition & 1 deletion metaspace/graphql/src/tests/globalTeardown.ts
@@ -1,7 +1,7 @@
import * as Knex from 'knex';
import config from '../utils/config';

module.exports = async () => {
export = async () => {
const knexAdmin = Knex({
client: 'postgres',
connection: {
Expand Down

0 comments on commit 4c62bfe

Please sign in to comment.