Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 8e69944

Browse files
committed
wee cleanup
1 parent b473b02 commit 8e69944

File tree

8 files changed

+7
-19
lines changed

8 files changed

+7
-19
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prepare
22

3-
FROM node:8.9.3-alpine AS base
3+
FROM node:8.9.4-alpine AS base
44

55
RUN mkdir -p /opt/app
66

Dockerfile.dev

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prepare
22

3-
FROM node:8.9.3-alpine
3+
FROM node:8.9.4-alpine
44

55
RUN mkdir -p /opt/app
66

@@ -17,4 +17,6 @@ RUN yarn
1717

1818
COPY . /opt/app
1919

20+
ENV NODE_ENV development
21+
2022
ENTRYPOINT ["yarn"]

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,16 @@ Attention windows users: when `Docker for Windows` is not an option, install `ya
6363

6464
- npm: `$ npm run test:unit`
6565
- yarn: `$ yarn test:unit`
66-
- Docker: `$ docker-compose -f docker-compose.test.yml run sut test:unit`
6766

6867
### Run integration tests
6968

7069
- npm: `$ npm run test:integration`
7170
- yarn: `$ yarn test:integration`
72-
- Docker: `$ docker-compose -f docker-compose.test.yml run sut test:integration`
7371

7472
### Run all tests
7573

7674
- npm: `$ npm test`
7775
- yarn: `$ yarn test`
78-
- Docker: `$ docker-compose -f docker-compose.test.yml run sut`
7976

8077
### Generate coverage reports
8178

docker-compose.test.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ services:
1010
- ./server:/opt/app/server
1111
ports:
1212
- 3001:3001
13+
environment:
14+
- SHELL=/bin/sh

jest/default.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ module.exports = Object.assign(
1919
"testEnvironment": "node",
2020
},
2121
process.env.CI ? require('./ci.partial.config.js') : {}
22-
)
23-
;
22+
);

server/env.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const env = envalid.cleanEnv(process.env, {
99
PLAYGROUND: bool({ default: true }),
1010
CORS: bool({ devDefault: true, default: false }),
1111
GRAPHQL_TRACING: bool({ default: true }),
12-
NODE_ENV: str({ devDefault: 'development' }),
1312
LOG_LEVEL: str({ default: 'info' }),
1413
});
1514

server/graphql/__tests__/joke.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,3 @@ describe('query.joke', () => {
7676
expect({ data, errors }).toMatchSnapshot();
7777
});
7878
});
79-

0 commit comments

Comments
 (0)