Skip to content

Commit

Permalink
feat: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianMar committed May 26, 2022
1 parent df6d81c commit 3a23005
Show file tree
Hide file tree
Showing 4 changed files with 546 additions and 146 deletions.
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 2
jobs:
build:
docker:
- image: circleci/node
steps:
# Checkout repository
- checkout

# Restore cache
- restore_cache:
key: npm-cache-{{ checksum "package-lock.json" }}

# Install dependencies
- run:
name: Install Dependencies
command: NODE_ENV=dev npm install

# Keep cache
- save_cache:
key: npm-cache-{{ checksum "package-lock.json" }}
paths:
- "node_modules"

# Tests
- run:
name: Tests
command: npm run test

# Coverage
- run:
name: Coverage
command: npm run coverage
Loading

0 comments on commit 3a23005

Please sign in to comment.