Simon Vieille
62da111aca
Some checks failed
Gitnet/scraper/pipeline/head There was a failure building this commit
17 lines
404 B
JavaScript
17 lines
404 B
JavaScript
const filter = require('../src/filter/spaces')
|
|
const assert = require('assert')
|
|
|
|
describe('Check "spaces"', () => {
|
|
it('Should return ""', () => {
|
|
assert.equal(filter(""), "")
|
|
})
|
|
|
|
it('Should return "foo bar"', () => {
|
|
assert.equal(filter("foo bar"), "foo bar")
|
|
})
|
|
|
|
it('Should return "foo bar"', () => {
|
|
assert.equal(filter("foo \nbar"), "foo bar")
|
|
})
|
|
});
|