Mugen87 e9e5d0e64b Docs/Test: Remove author comments. 5 年之前
..
editor e9e5d0e64b Docs/Test: Remove author comments. 5 年之前
example e9e5d0e64b Docs/Test: Remove author comments. 5 年之前
src e9e5d0e64b Docs/Test: Remove author comments. 5 年之前
utils e9e5d0e64b Docs/Test: Remove author comments. 5 年之前
README.md d068dd08d4 Tests: unit refactor 5 年之前
UnitTests.html 3c41b9d59a Package.json: lighter dependencies 5 年之前
UnitTests_toRemoveAfterEditorES6Refactoring.html d068dd08d4 Tests: unit refactor 5 年之前
three.editor.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 年之前
three.example.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 年之前
three.source.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 年之前

README.md

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 run dev-test and call http://localhost:8080/test/unit/UnitTests.html (see How to run things locally)