Skip to content

Commit 11a7acb

Browse files
authored
Update diagnose.test.js
1 parent 43ea055 commit 11a7acb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/diagnose.test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2372,3 +2372,11 @@ test('Diagnose Skillion Issue', async() => {
23722372
expect(global.fetch.mock.calls[0][0]).toBe(urlBase + 'way/398056904/full');
23732373
expect(global.fetch.mock.calls[1][0]).toBe(urlBase + 'map?bbox=125.7416897,39.0269534,125.7420811,39.0272423');
23742374
});
2375+
2376+
window.printError = printError;
2377+
2378+
var errors = [];
2379+
2380+
function printError(txt) {
2381+
errors.push[txt];
2382+
}

0 commit comments

Comments
 (0)