Opaque meta module + test - colorbar (#764)

* opaque colorbar test

* build

* rebase + build

* fixed opaque meta modules yay

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* add test and prevent internal logs

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* Update meta-modules.js
This commit is contained in:
Varun Gupta
2019-02-13 21:06:11 +05:30
committed by Jeffrey Warren
parent 53db6bd2ce
commit fa30c1b30f
6 changed files with 4894 additions and 4839 deletions

View File

@@ -13,4 +13,13 @@ test('Load ndvi-colormap meta module', function(t) {
t.equal(sequencer1.images.image1.steps[0].options.name, sequencer2.steps[0].options.name, "First step OK");
t.equal(sequencer1.images.image1.steps[1].options.name, sequencer2.steps[1].options.name, "Second step OK");
t.end();
});
});
test('Load colorbar opaque meta module', function(t) {
sequencer1.loadImages('image1', red);
sequencer1.addSteps('colorbar'); // this has been refactored as an opaque meta-module https://github.com/publiclab/image-sequencer/issues/315
sequencer1.run((out) => {
t.isNotEqual(out, undefined, "Opaque Meta-Module not undefined");
t.end();
});
});