mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Additional test for root node with dynamic id of a component with a component.js file.
This commit is contained in:
parent
11580da273
commit
4e52d66aa9
@ -0,0 +1 @@
|
||||
module.exports = {};
|
||||
@ -0,0 +1,3 @@
|
||||
$ var id = 'abc123';
|
||||
|
||||
<div id=id/>
|
||||
@ -0,0 +1,6 @@
|
||||
var expect = require('chai').expect;
|
||||
|
||||
exports.checkError = function(e) {
|
||||
var message = e.toString();
|
||||
expect(message).to.contain('https://github.com/marko-js/marko/wiki/Error:-Dynamic-root-HTML-element-id-attribute');
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user