title: How to run unit with circle ci in nodejs
body: <p>I am having trouble with integrating unit test for my nodejs project. Everything works fine with local when I open one terminal npm start and another terminal run command npm run test. But when deploying it to circle ci I am stuck with the command line start node server. The test statement was not executed. Can someone point me in the wrong direction. Thanks !</p>
  <p>This is my config.yml</p>
  <pre><code>version: 2.1
  jobs:
    run_tests:
      docker:
        - image: circleci/node:12
      steps:
      - checkout
      - run:
          name: Install npm dependencies
          command: |
            npm install --save
      - run:
          name: Start node server
          command: |
            npm start
      - run:
          name: Run Unit Tests
          command: |
            npm run test
  workflows:
    build_test:
      jobs:
        - run_tests
  
  </code></pre>
  <p><a href="https://i.stack.imgur.com/r6MBw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r6MBw.png" alt="description" /></a></p>
  <p>And my repository: <a href="https://github.com/ThanhDeveloper/MernStackApp" rel="nofollow noreferrer">https://github.com/ThanhDeveloper/MernStackApp</a></p>