mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
11 lines
352 B
JavaScript
11 lines
352 B
JavaScript
var expect = require('chai').expect;
|
|
|
|
exports.templateData = {};
|
|
|
|
exports.checkError = function(e) {
|
|
var message = e.toString();
|
|
expect(message).to.contain('An error occurred while trying to compile template at path');
|
|
expect(message).to.contain('Invalid "step" expression:');
|
|
expect(message).to.contain("Unexpected number: (0 0)");
|
|
};
|