mirror of
https://github.com/marko-js/marko.git
synced 2026-01-25 15:03:04 +00:00
6 lines
281 B
JavaScript
6 lines
281 B
JavaScript
var expect = require('chai').expect;
|
|
|
|
exports.checkError = function (e) {
|
|
expect(e.toString()).to.contain('A component class is not allowed to use `extends`');
|
|
expect(e.toString()).to.contain('https://github.com/marko-js/marko/wiki/Error:-Component-class-with-extends');
|
|
}; |