1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-28 04:19:56 +00:00
TiddlyWiki5/tw2/source/tiddlywiki/test/js/Shadows.js
Jeremy Ruston a1c8ac624f Added first pass at support for building TiddlyWiki 2.6.x with TW5
There are still some whitespace and attribute ordering issues, but the
result runs correctly.
2012-05-29 22:02:38 +01:00

22 lines
539 B
JavaScript
Executable File

jQuery(document).ready(function(){
module("TiddlyWiki core");
test("Shadow tiddler existence", function() {
expect(2);
var actual = config.shadowTiddlers["EditTemplate"];
ok(actual,'EditTemplate shadow tiddler should exist');
loadShadowTiddlers();
actual = config.shadowTiddlers["StyleSheetColors"];
ok(actual,'StyleSheetColors shadow tiddler should exist');
actual = config.shadowTiddlers["SystemSettings"];
strictEqual(typeof(actual) !== 'undefined',true,'SystemSettings shadow tiddler should exist');
});
});