diff --git a/test/image-manip.js b/test/image-manip.js index 14d4a292..81472f4f 100644 --- a/test/image-manip.js +++ b/test/image-manip.js @@ -10,8 +10,8 @@ require('../src/ImageSequencer.js'); //require image files as DataURLs so they can be tested alike on browser and Node. var sequencer = ImageSequencer({ ui: false }); -var test_png = require('../examples/test.png.js'); -var test_gif = require('../examples/test.gif.js'); +var test_png = require('../examples/images/test.png.js'); +var test_gif = require('../examples/images/test.gif.js'); sequencer.loadImages(test_png); sequencer.addSteps(['do-nothing-pix','invert','invert']); diff --git a/test/image-sequencer.js b/test/image-sequencer.js index 651e5af3..b0c07894 100644 --- a/test/image-sequencer.js +++ b/test/image-sequencer.js @@ -42,7 +42,7 @@ test('loadImages loads a DataURL image and creates a step.', function (t){ if(!sequencer.options.inBrowser) test('loadImage loads an image from URL and creates a step. (NodeJS)', function (t){ - sequencer.loadImage('URL','https://ccpandhare.github.io/image-sequencer/examples/red.jpg', function(){ + sequencer.loadImage('URL','https://ccpandhare.github.io/image-sequencer/examples/images/red.jpg', function(){ t.equal(sequencer.images.URL.steps.length, 1, "Initial Step Created"); t.equal(typeof(sequencer.images.URL.steps[0].output.src), "string", "Initial output exists"); t.end(); @@ -51,7 +51,7 @@ if(!sequencer.options.inBrowser) if(!sequencer.options.inBrowser) test('loadImages loads an image from PATH and creates a step. (NodeJS)', function (t){ - sequencer.loadImages('examples/red.jpg'); + sequencer.loadImages('examples/images/red.jpg'); t.equal(sequencer.images.image1.steps.length, 1, "Initial Step Created"); t.equal(typeof(sequencer.images.image1.steps[0].output.src), "string", "Initial output exists"); t.end();