Change the restPort within express's datasource.test.ts to another value.

I suspect the fact that this overlaps with the port used in fastify, that it
could be causing some problems when tests are run quickly enough.
This commit is contained in:
Jesse Rosenberger 2019-02-26 13:16:47 +02:00
parent 36f2a156f1
commit 2807691cdd
No known key found for this signature in database
GPG key ID: C0CCCF81AA6C08D8

View file

@ -8,7 +8,7 @@ import { ApolloServer } from '../ApolloServer';
import { createServerInfo } from 'apollo-server-integration-testsuite';
import { gql } from '../index';
const restPort = 4001;
const restPort = 4003;
export class IdAPI extends RESTDataSource {
baseURL = `http://localhost:${restPort}/`;