mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
* add test for change in option for colormap * add test for change in option for colormap * add comments * add few tests * Add options change test for 14 more modules * add test Co-authored-by: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com>
9 lines
634 B
JavaScript
9 lines
634 B
JavaScript
const testModule = require('../templates/module-test'),
|
|
benchmark = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAklEQVR4AewaftIAAAApSURBVKXBAQEAMAzDIF7/nncRgYcTTDTRRBNNNNFEE0000UQTTTTRRB9NQAEfe+dsMAAAAABJRU5ErkJggg==',
|
|
_benchmark = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAklEQVR4AewaftIAAAApSURBVKXBAQEAMAzDIF7/nncRgYcTTDTRRBNNNNFEE0000UQTTTTRRB9NQAEfe+dsMAAAAABJRU5ErkJggg==',
|
|
option = {x: 1},
|
|
_options = {x: 1, y: 1};
|
|
|
|
require('../templates/options-test')('grid-overlay', [option, _options], [benchmark, _benchmark]);
|
|
|
|
testModule('grid-overlay', {x: 1}, benchmark); |