mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
fix chrome test
This commit is contained in:
parent
7cb12ac10c
commit
15470c9dc3
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ describe("font select", function(){
|
||||||
|
|
||||||
//check if font changed to monospace
|
//check if font changed to monospace
|
||||||
var fontFamily = inner$("body").css("font-family").toLowerCase();
|
var fontFamily = inner$("body").css("font-family").toLowerCase();
|
||||||
expect(fontFamily).to.be("courier new");
|
var containsStr = fontFamily.indexOf("courier new");
|
||||||
|
expect(containsStr).to.not.be(-1);
|
||||||
|
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue