Last active
December 15, 2015 03:49
-
-
Save tilomitra/5196806 to your computer and use it in GitHub Desktop.
YUI Config for WidgetPointer Unit Tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>gallery-widget-pointer</title> | |
<script src="http://yui.yahooapis.com/3.9.0/build/yui/yui-min.js"></script> | |
<script src="js/tests.js"></script> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" type="text/css" href="../../assets/gallery-widget-pointer-core.css"> | |
</head> | |
<body class="yui3-skin-sam"> | |
<div id="logger"></div> | |
<div id="myContent"> | |
<div class="yui3-widget-hd">Overlay Header</div> | |
<div class="yui3-widget-bd">Overlay Body</div> | |
<div class="yui3-widget-ft">Overlay Footer</div> | |
</div> | |
<script> | |
YUI({ | |
coverage: ['gallery-widget-pointer'], | |
groups: { | |
gallery: { | |
base : '../../../../build/', | |
patterns: { | |
'gallery-' : {}, | |
'gallerycss-': { type: 'css' } | |
}, | |
modules: { | |
'gallery-widget-pointer': { | |
path : 'gallery-widget-pointer/gallery-widget-pointer.js', | |
} | |
} | |
} | |
}, | |
filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'raw' | |
}).use('test-console', 'test', 'module-tests', 'gallery-widget-pointer', 'panel', function(Y) { | |
(new Y.Test.Console()).render('#logger'); | |
Y.Test.Runner.setName('gallery-widget-pointer'); | |
Y.Test.Runner.run(); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment