mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
remove legacy express test that was never run
This commit is contained in:
parent
d32993caf6
commit
f64c712986
1 changed files with 210 additions and 207 deletions
|
@ -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.');
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue