kiigame / adventure_engine

KiiGame Adventure Engine
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

Images json child processor class with test #118

Closed evktalo closed 5 years ago

evktalo commented 5 years ago

Extract rooms_json merging into images_json into its own class, with unit test.

The unit test actually discovered a bug!

There is an error in browser about 'module' not being defined, at the end of ChildProcessor class. Let's live with this for a while, having the unit test in place is very nice.

Mocha and Chai are added to the project as dev dependencies, to facilitate unit testing.