eslint
This commit is contained in:
parent
7b67066f7d
commit
6bd577e42e
1 changed files with 37 additions and 37 deletions
|
@ -15,11 +15,11 @@ describe('Metamaps.Util.js', function () {
|
|||
// TODO this test seems like it's incorrect behaviour
|
||||
it('splits mid-word if need be', function () {
|
||||
expect(Util.splitLine('test test', 2))
|
||||
.to.equal("te\nt\nte\nt")
|
||||
.to.equal('te\nt\nte\nt')
|
||||
})
|
||||
it('splits words over 30 chars', function () {
|
||||
expect(Util.splitLine('suprainterpostantidisestablishmentarianism', 30))
|
||||
.to.equal("suprainterpostantidisestablish\nentarianism")
|
||||
.to.equal('suprainterpostantidisestablish\nentarianism')
|
||||
})
|
||||
})
|
||||
describe('nowDateFormatted', function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue