11 lines
439 B
Markdown
11 lines
439 B
Markdown
## Setup
|
|
|
|
- Execute `npm i --prefix test` from root folder
|
|
|
|
## Run
|
|
|
|
You can run the unit tests in two environments:
|
|
|
|
- Node.js: Execute `npm run test-unit` from root folder
|
|
- Browser: Execute `npm start` (or run any other local web sever) from root folder and access `http://localhost:8080/test/unit/UnitTests.html` on web browser. (See [How to run things locally](https://threejs.org/docs/#manual/introduction/How-to-run-things-locally))
|