Martijn Walraven
ea6faf770a
Replace prepublish scripts with prepare
2018-08-11 16:45:03 +02:00
Martijn Walraven
e61333aa1c
Remove package local .gitignore files
2018-08-11 16:45:03 +02:00
Martijn Walraven
167aa6aec7
Remove stray CircleCI config
2018-08-11 16:45:03 +02:00
Martijn Walraven
83e29cf0c4
Update package-lock.json
2018-08-11 16:45:03 +02:00
Martijn Walraven
06e31c3249
Remove per-package test
, coverage
and circle
scripts
2018-08-11 16:45:03 +02:00
Martijn Walraven
04cf5795d5
Standardize on "types" and move it after "main" in package.json
2018-08-01 10:13:16 +02:00
Martijn Walraven
9d053d6c93
Remove deprecated "typescript"/"definition" from package.json
...
This was only used by https://github.com/DefinitelyTyped/tsd , and hasn't been required since TypeScript 1.6.
2018-08-01 10:09:36 +02:00
Evans Hauser
9dd1fec766
Mocha to Jest Test Conversion ( #1453 )
...
* import jest
* remove mocha, chai, sinon
* fix JSON parsing for package.json
* replace import mocha, chai, sinon with jest
* add jest as test npm script
* remove dependency on mocha types
* errors: remove unused jest tests
* move tests to __tests__ folders
* add jest types to root tsconfig
* fix tsconfig include excludes
* .to.equal -> toEqual
* .true -> .toBe(true)
* .to.deep.equal -> .toEqual
* .to.exist -> .toBeDefined()
* .to.contain -> .toMatch
* .to.match -> .toMatch
* to.be.undefined -> .toBeUndefined()
* not.toBeDefined -> .toBeUndefined
* bring integration test up to date with past changes
* remove message from expect
* .null -> .toBe(null)
* expect.fail -> done.fail
* callsFake -> jest.fn
* mocha mock calls -> jest
* .not.to.exist -> .toBeUndefined()
* callCount -> mocks.calls.length
* returns -> jest.fn()
* .equals -> .toEqual
* fix relative imports
* remove string in expects and place as comment
* remove Fibers from runQuery
* restore -> mockRestore
* before -> beforeAll
* after -> afterAll
* fix async_hooks test and Promise await
* remove jest from testsuite package json
* remove unnecessary apollo-server-env setup
* add start of cloudflare tests
* this.timeout -> timeout argument
* express: fix relative require
* import gql tag properly
* .to.throw -> .toThrow
* .to.be.instanceof -> .toBeInstanceOf
* remove console log check test
* done(Error) -> done.fail(Error)
* done -> done.fail
* change port numbers, since jest runs in parallel
* fix toBeUndefined for null checks
* make engine port unique in testsuite
* make data source rest endpoint port unique
* add coverage scripts
* travis npm script -> cricle script
* make engine port random
* change ports to not conflict across integrations
* increase node version for apollo-server-hapi
* add node versioning to prevent hapi tests from running
* move jest dependencies to the root package.json
* make hapi port unique
* fix port reference in hapi tests
2018-07-31 15:40:03 -07:00
Evans Hauser
37d20cfe66
Import engine reporting protobuf and fix reporting readme ( #1429 )
...
* Initial revision
* Ensure dist directory exists
* Add envrc for direnv users.
* protobufjs is a runtime dependency
* 0.0.0-beta.2
* update reports.proto with FullTracesReport
* 0.0.0-beta.3
* depend on @types/long
* 0.0.0-beta.4
* instead, do not use long
* 0.0.0-beta.5
* Add Details.variablesJson
* 0.0.0-beta.6
* comment-only update to new field
* 0.0.0-beta.7
* update a-e-reporting readme to reflect production ready state
* update changelog the engine reporting
* reporting-protobuf: prepare -> prepublish
2018-07-26 17:39:11 -07:00