Unit testing of the ThymioBlocks library (#2) should be defined using Karma and Jasmine.
Most blocks translate into HTTP calls to asebahttp, so most unit testing will involve capturing the AJAX call, verifying the request parameters, and possibly mocking the result. Jasmine-ajax should be used.
Unit testing of the ThymioBlocks library (#2) should be defined using Karma and Jasmine.
Most blocks translate into HTTP calls to asebahttp, so most unit testing will involve capturing the AJAX call, verifying the request parameters, and possibly mocking the result. Jasmine-ajax should be used.