Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Updated test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
twolfson committed Nov 16, 2015
1 parent a6860fe commit 3780012
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/phantomjssmith_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ spritesmithEngineTest.run({
engine: Phantomjssmith,
engineName: 'phantomjssmith',
tests: {
// Disable buffer/stream tests since they are warnings only and we don't use contents
renderPngBufferVinylCanvas: false,
renderPngStreamVinylCanvas: false,
// Disable GIF test as we don't support it currently
renderGifCanvas: false
}
});
Expand All @@ -20,7 +24,7 @@ describe('phantomjssmith', function () {
// Set up canvas for test case
var multiplePngImages = spritesmithEngineTest.config.multiplePngImages;
testUtils.createEngine(Phantomjssmith);
testUtils.interpretImages(multiplePngImages.filepaths);
testUtils.interpretStringImages(multiplePngImages.filepaths);
testUtils._createCanvas(multiplePngImages.width, multiplePngImages.height);
testUtils._addImages(multiplePngImages.coordinateArr);

Expand Down Expand Up @@ -61,7 +65,7 @@ describe('phantomjssmith', function () {
// Set up canvas for test case
var multiplePngImages = spritesmithEngineTest.config.multiplePngImages;
testUtils.createEngine(Phantomjssmith);
testUtils.interpretImages(multiplePngImages.filepaths);
testUtils.interpretStringImages(multiplePngImages.filepaths);
testUtils._createCanvas(multiplePngImages.width, multiplePngImages.height);
testUtils._addImages(multiplePngImages.coordinateArr);

Expand Down

0 comments on commit 3780012

Please sign in to comment.