mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
updated test for console.log instead of console.debug
This commit is contained in:
parent
219e4a14c6
commit
c81e10ba57
@ -22,11 +22,11 @@
|
|||||||
|
|
||||||
test("getInvalidString", function() {
|
test("getInvalidString", function() {
|
||||||
equal(OpenSeadragon.getString("Greeting"), "", "Handled unset string key");
|
equal(OpenSeadragon.getString("Greeting"), "", "Handled unset string key");
|
||||||
ok(testLog.debug.contains('["Untranslated source string:","Greeting"]'),
|
ok(testLog.log.contains('["Untranslated source string:","Greeting"]'),
|
||||||
'Invalid string keys are logged');
|
'Invalid string keys are logged');
|
||||||
|
|
||||||
equal(OpenSeadragon.getString("Errors"), "", "Handled requesting parent key");
|
equal(OpenSeadragon.getString("Errors"), "", "Handled requesting parent key");
|
||||||
ok(testLog.debug.contains('["Untranslated source string:","Errors"]'),
|
ok(testLog.log.contains('["Untranslated source string:","Errors"]'),
|
||||||
'Invalid string parent keys are logged');
|
'Invalid string parent keys are logged');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user