mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Marko v3: Moved over more pending tests
This commit is contained in:
parent
f89f9c548e
commit
fb9aaae25b
@ -1 +0,0 @@
|
||||
exports.templateData = {};
|
||||
13
test/fixtures/render/autotest/custom-tag-declared-attributes/test.js
vendored
Normal file
13
test/fixtures/render/autotest/custom-tag-declared-attributes/test.js
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
var expect = require('chai').expect;
|
||||
|
||||
exports.templateData = {};
|
||||
|
||||
exports.checkError = function(e) {
|
||||
expect(Array.isArray(e.errors)).to.equal(true);
|
||||
expect(e.errors.length).to.equal(1);
|
||||
|
||||
var message = e.toString();
|
||||
expect(message).to.contain('template.marko:1:0');
|
||||
expect(message).to.contain('The tag "test-declared-attributes" in taglib');
|
||||
expect(message).to.contain('does not support attribute "age"');
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user