User:Evad37/Covery/sandbox.js: Difference between revisions

Content deleted Content added
.
.
Line 1,526:
var infobox2 = getInfoboxTemplate('{{Infobox Video Game\n| image = \n| developer = DEV\n}}');
var wikitext2 = makeInfoboxWikitext(infobox2, newParams);
var expected2 = '{{Infobox Video Game\n|developer=DEV\n| image = Foo.png\n| developer = DEV\n}}';
assert.equal(wikitext1, expected1, 'Otherwise empty infobox');
assert.equal(wikitext2, expected2, 'With one other param');