Skip to content

Commit 7d5ecfa

Browse files
committed
travis
1 parent 8a1278a commit 7d5ecfa

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cache:
88
- node_modules
99

1010
before_install:
11-
- docker run grokzen/redis-cluster:lastest
11+
- docker run -d -p 127.0.0.1:7000:7000 -p 127.0.0.1:7001:7001 -p 127.0.0.1:7002:7002 -p 127.0.0.1:7003:7003 -p 127.0.0.1:7004:7004 -p 127.0.0.1:7005:7005 grokzen/redis-cluster:latest
1212

1313
install:
1414
- npm install

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"posttest": "npm run lint",
3333
"lint": "tslint --project ./tsconfig.json ./src/**/*.ts",
3434
"watch": "tsc -w",
35-
"testonly": "mocha --reporter spec --full-trace ./dist/test/tests.js ",
36-
"integration": "npm run compile && mocha --reporter spec --full-trace ./dist/test/integration-tests.js ",
35+
"testonly": "mocha --reporter spec --full-trace --exit ./dist/test/tests.js ",
36+
"integration": "npm run compile && mocha --reporter spec --full-trace --exit ./dist/test/integration-tests.js",
3737
"benchmark": "npm run compile && mocha --reporter spec --full-trace ./dist/test/benchmark.js ",
3838
"coverage": "node ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/test/tests.js",
3939
"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
@@ -47,7 +47,7 @@
4747
},
4848
"devDependencies": {
4949
"@types/chai": "^4.2.12",
50-
"@types/chai-as-promised": "^7.1.1",
50+
"@types/chai-as-promised": "^7.1.3",
5151
"@types/ioredis": "^4.17.3",
5252
"@types/mocha": "^7.0.2",
5353
"@types/node": "13.13.0",

src/test/integration-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { subscribe } from 'graphql/subscription';
77

88
import { RedisPubSub } from '../redis-pubsub';
99
import { withFilter } from '../with-filter';
10-
import Redis, { Cluster } from 'ioredis';
10+
import { Cluster } from 'ioredis';
1111

1212
chai.use(chaiAsPromised);
1313
const expect = chai.expect;

0 commit comments

Comments
 (0)