hardlounge/test/client/js/libs/handlebars/slugifyTest.js
2017-11-30 20:33:23 -05:00

11 lines
308 B
JavaScript

"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");
});
});