2
0
Michael Herzog 608c8057fe Tests: Fix Clock unit tests under latest node. (#21730) 4 жил өмнө
..
example a7c0676980 Tests: Fix GLTFExporter Unit test (#21728) 4 жил өмнө
src 608c8057fe Tests: Fix Clock unit tests under latest node. (#21730) 4 жил өмнө
utils 9af037c8fa Tests: Formatting in console-wrapper 4 жил өмнө
README.md bf1228a27a Update test/unit/README.md 4 жил өмнө
UnitTests.html 1e30dfa877 Removed Editor unit tests. 4 жил өмнө
UnitTests_toRemoveAfterEditorES6Refactoring.html d068dd08d4 Tests: unit refactor 5 жил өмнө
three.example.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 жил өмнө
three.source.unit.js 1a89d7ce27 Removed polyfills.tests.js 4 жил өмнө

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 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)