Takahiro 9af037c8fa Tests: Formatting in console-wrapper %!s(int64=5) %!d(string=hai) anos
..
editor e9e5d0e64b Docs/Test: Remove author comments. %!s(int64=5) %!d(string=hai) anos
example 1c3b2b4631 Fixed unit tests. %!s(int64=5) %!d(string=hai) anos
src 688c604cf1 Tests: Prevent console warnings caused purposely in Color.setStyleRGBARes() test %!s(int64=5) %!d(string=hai) anos
utils 9af037c8fa Tests: Formatting in console-wrapper %!s(int64=5) %!d(string=hai) anos
README.md d068dd08d4 Tests: unit refactor %!s(int64=5) %!d(string=hai) anos
UnitTests.html 3c41b9d59a Package.json: lighter dependencies %!s(int64=5) %!d(string=hai) anos
UnitTests_toRemoveAfterEditorES6Refactoring.html d068dd08d4 Tests: unit refactor %!s(int64=5) %!d(string=hai) anos
three.editor.unit.js e9e5d0e64b Docs/Test: Remove author comments. %!s(int64=5) %!d(string=hai) anos
three.example.unit.js e9e5d0e64b Docs/Test: Remove author comments. %!s(int64=5) %!d(string=hai) anos
three.source.unit.js 75afa61f7b Add Console wrapper to introduce logging level to console for unit tests %!s(int64=5) %!d(string=hai) anos

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)