<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
  <title>Tests</title>
  <link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-1.23.1.css">
  <link rel="stylesheet" href="../dist/sweetalert2.css">

  <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
  <script src="https://code.jquery.com/qunit/qunit-1.23.1.js"></script>

  <script src="../dist/sweetalert2.js"></script>
  <script src="https://cdn.jsdelivr.net/es6-promise/latest/promise.min.js"></script>
</head>
<body>
  <div id="qunit"></div>
  <div id="qunit-fixture"></div>
  <script src="tests.js"></script>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
  <title>Tests</title>
  <link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-1.23.1.css">
  <link rel="stylesheet" href="../dist/sweetalert2.css">

  <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
  <script src="https://code.jquery.com/qunit/qunit-1.23.1.js"></script>

  <script src="../dist/sweetalert2.js"></script>
  <script src="https://cdn.jsdelivr.net/es6-promise-polyfill/latest/promise.min.js"></script>
</head>
<body>
  <div id="qunit"></div>
  <div id="qunit-fixture"></div>
  <script src="tests.js"></script>
</body>
</html>

Fix Promise using for tests.
Fix Promise using for tests.
