mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
6 lines
280 B
JavaScript
6 lines
280 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');
|
|
}; |