mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 03:40:03 +01:00
Removed all instances of mode: 'test' (#1599)
This commit is contained in:
@@ -28,7 +28,7 @@ test('Load invert module', function(t) {
|
||||
});
|
||||
|
||||
test('Inverted image isn\'t identical', function(t) {
|
||||
sequencer.run({ mode: 'test' }, function(out) {
|
||||
sequencer.run(function(out) {
|
||||
var input = sequencer.steps[0].output.src;
|
||||
var output = sequencer.steps[1].output.src;
|
||||
input = DataURItoBuffer(input);
|
||||
@@ -40,7 +40,7 @@ test('Inverted image isn\'t identical', function(t) {
|
||||
|
||||
// test("Twice inverted image is identical to original image", function(t) {
|
||||
// sequencer.addSteps('test','invert');
|
||||
// sequencer.run({ mode: 'test' }, function(out) {
|
||||
// sequencer.run(function(out) {
|
||||
// var input = sequencer.steps[0].output.src
|
||||
// var output = sequencer.steps[2].output.src
|
||||
// base64Img.imgSync(input, target, 'input')
|
||||
@@ -56,7 +56,7 @@ test('Inverted image isn\'t identical', function(t) {
|
||||
// });
|
||||
|
||||
test('Invert module produces correct output', function(t) {
|
||||
sequencer.run({ mode: 'test' }, function(out) {
|
||||
sequencer.run(function(out) {
|
||||
var result = sequencer.steps[1].output.src;
|
||||
var benchmark = invert;
|
||||
base64Img.imgSync(result, target, 'result');
|
||||
|
||||
Reference in New Issue
Block a user