mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: fix util test
This commit is contained in:
@@ -147,7 +147,7 @@ describe('Utility Methods', () => {
|
||||
|
||||
describe('cleanUpTag', () => {
|
||||
it('should cleanUp a tag', (done) => {
|
||||
const cleanedTag = utils.cleanUpTag(',/#!$%^*;TaG1:{}=_`<>\'"~()?|');
|
||||
const cleanedTag = utils.cleanUpTag(',/#!$^*;TaG1:{}=_`<>\'"~()?|');
|
||||
assert.equal(cleanedTag, 'tag1');
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user