mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Update test for transclusion recursion detection
This commit is contained in:
parent
eaf41f3f18
commit
d9bdc89dfd
@ -163,7 +163,7 @@ describe("Widget module", function() {
|
|||||||
var wrapper = renderWidgetNode(widgetNode);
|
var wrapper = renderWidgetNode(widgetNode);
|
||||||
describe("should detect the recursion", function() {
|
describe("should detect the recursion", function() {
|
||||||
// Test the rendering
|
// Test the rendering
|
||||||
expect(wrapper.innerHTML).toBe("Recursive transclusion error in transclude widget\n");
|
expect(wrapper.innerHTML).toBe("<span class='tc-error'>Recursive transclusion error in transclude widget</span>\n");
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user