Skip to content

Commit

Permalink
fix: dependency to middlewares
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshoo committed Apr 21, 2020
1 parent 15ca126 commit d8cda3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testTimeout: 15000,
testTimeout: 150000,
};
16 changes: 8 additions & 8 deletions test/integration/tests/realities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import * as mutation from './jsonRequestsAndHeaders/mutation.json';

let polarisServer: PolarisServer;

describe('reality is specified in the headers', () => {
beforeEach(async () => {
polarisServer = await startTestServer();
await initializeDatabase();
});
beforeEach(async () => {
polarisServer = await startTestServer();
await initializeDatabase();
});

afterEach(() => {
return stopTestServer(polarisServer);
});
afterEach(() => {
return stopTestServer(polarisServer);
});

describe('reality is specified in the headers', () => {
it('should set reality of the entity from the header', async () => {
const result = await graphQLRequest(
mutation.request,
Expand Down

0 comments on commit d8cda3c

Please sign in to comment.