Mugen87 10f68afec1 Tests: Fix remaining warnings. 4 years ago
..
editor e9e5d0e64b Docs/Test: Remove author comments. 5 years ago
example d00e588d5a Tests: Add GLTFExporter lights and unlit material extensions tests 4 years ago
src 10f68afec1 Tests: Fix remaining warnings. 4 years ago
utils 9af037c8fa Tests: Formatting in console-wrapper 4 years ago
README.md bf1228a27a Update test/unit/README.md 4 years ago
UnitTests.html 3c41b9d59a Package.json: lighter dependencies 5 years ago
UnitTests_toRemoveAfterEditorES6Refactoring.html d068dd08d4 Tests: unit refactor 5 years ago
three.editor.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 years ago
three.example.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 years ago
three.source.unit.js 75afa61f7b Add Console wrapper to introduce logging level to console for unit tests 4 years ago

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)