morbo-cli
Version:
… All tech debt is vermin in the eyes of Morbo!
16 lines (15 loc) • 896 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var removeCommentEnd_1 = __importDefault(require("./removeCommentEnd"));
describe('removeCommentEnd', function () {
it('removes the end of a comment', function () {
expect(removeCommentEnd_1.default('/* hi im a comment */')).toBe('/* hi im a comment ');
expect(removeCommentEnd_1.default('<!-- hi im a comment -->')).toBe('<!-- hi im a comment ');
expect(removeCommentEnd_1.default('{{# hi im a comment #}}')).toBe('{{# hi im a comment ');
expect(removeCommentEnd_1.default('{{-- hi im a comment --}}')).toBe('{{-- hi im a comment ');
expect(removeCommentEnd_1.default('{{ hi im a comment }}')).toBe('{{ hi im a comment ');
});
});