hardlounge/test/client/js/libs/handlebars/slugifyTest.js

11 lines
308 B
JavaScript
Raw Normal View History

2017-11-29 05:31:03 +00:00
"use strict";
const expect = require("chai").expect;
const slugify = require("../../../../../client/js/libs/handlebars/slugify");
describe("slugify Handlebars helper", function() {
it("should only produce lowercase strings", function() {
expect(slugify("#TheLounge")).to.equal("\\#thelounge");
});
});