remove legacy express test that was never run

This commit is contained in:
Jonas Helfer 2016-06-29 13:26:09 -04:00
parent d32993caf6
commit f64c712986

View file

@ -1,6 +1,10 @@
// tslint:disable
// TODO: enable when you figure out how to automatically fix trailing commas
// TODO: maybe we should get rid of these tests entirely, and move them to expressApollo.test.ts
// TODO: wherever possible the tests should be rewritten to make them easily work with HAPI, express, Koa etc.
/*
* Below are the HTTP tests from express-graphql. We're using them here to make
* sure apolloServer still works if used in the place of express-graphql.
@ -146,9 +150,9 @@ describe('test harness', () => {
});
[[ express4, 'modern' ]].forEach(([ express, version ]) => {
describe(`GraphQL-HTTP (apolloServer) tests for ${version} express`, () => {
const express = express4;
const version = 'modern';
describe(`GraphQL-HTTP (apolloServer) tests for ${version} express`, () => {
describe('POST functionality', () => {
it('allows gzipped POST bodies', async () => {
@ -375,5 +379,4 @@ describe('test harness', () => {
return expect(response.text).to.contain('Apollo Server supports only POST requests.');
});
});
});
});