Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Xintong Xia committed Mar 29, 2019
1 parent 21dca8a commit ae6fa0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file modified test/render/golden-images/icon-lnglat-facing-up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions test/render/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import test from 'tape';
import {TEST_CASES, WIDTH, HEIGHT} from './test-cases';
import {SnapshotTestRunner} from '@deck.gl/test-utils';

test.only('Render Test', t => {
test('Render Test', t => {
// tape's default timeout is 500ms
t.timeoutAfter(TEST_CASES.length * 2000);

Expand All @@ -34,10 +34,10 @@ test.only('Render Test', t => {
onTestFail: (testCase, result) => t.fail(result.error || `match: ${result.matchPercentage}`),

imageDiffOptions: {
threshold: 0.99,
threshold: 0.99
// uncomment to save screenshot to disk
saveOnFail: true,
saveAs: '[name].png'
// saveOnFail: true
// saveAs: '[name].png'
}
})
.then(() => t.end());
Expand Down

0 comments on commit ae6fa0b

Please sign in to comment.