K
K
Ken Jee2019-03-06 21:35:04
JavaScript
Ken Jee, 2019-03-06 21:35:04

How to run multiple unit tests for JavaScript and NodeJS?

Let's say there are several JavaScript components written. Each component has its own file with unit tests. How to run the entire set of files with these tests that exist in the project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2019-03-06
@Robur

Depends on the test-runner that is being used. They can all do it and everyone has written in the docks how to run it. Usually you just specify the directory and file mask - they run whatever they find.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question