[Framework] Include Promise polyfill in tests

Provide Promise polyfill in test runner. This allows tests
of objects which use Promise directly to be run in environments
which don't yet implement Promise (including command line
test environment.) Completing test suite for framework layer,
WTD-518.
This commit is contained in:
Victor Woeltjen 2014-11-06 19:53:26 -08:00
parent 2e144ca003
commit 6dea66558f

View File

@ -4,12 +4,16 @@
<link rel="stylesheet"
type="text/css"
href="platform/framework/test/lib/css/jasmine.css">
<script type="text/javascript"
src="platform/framework/lib/es6-promise-2.0.0.min.js">
</script>
<script type="text/javascript"
src="platform/framework/lib/require.js">
</script>
</head>
<body>
<script>
window.Promise = window.Promise || ES6Promise.Promise;
require(
{
paths: {