Skip to content

Commit

Permalink
Dockerfile: run test when building docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhnguyennguyen committed Aug 21, 2018
1 parent fb22592 commit 9deb32f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ COPY README.md /app/

RUN npm install -g npm@6.4.0
RUN npm install -g jest
RUN npm run coverage

RUN chmod +x init.sh
RUN sed -i -e 's/\r$//' init.sh
Expand Down
1 change: 0 additions & 1 deletion topics/anagrams/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const buildCharacterMap = (str) => {
for (let character of str) {
characterMap[character] = ++characterMap[character] || 1;
}
console.log(characterMap);
return characterMap;
}

Expand Down

0 comments on commit 9deb32f

Please sign in to comment.