Browse Source

Makes Chai tests pass except CORS test

pull/101/head
Zoltan Olah 7 years ago
parent
commit
640de551cf
  1. 1
      .gitignore
  2. 104
      chai-tests/main_spec.js
  3. 3
      chai-tests/test.html
  4. 4
      package.json
  5. 79
      tests/main_spec.js

1
.gitignore vendored

@ -1 +1,2 @@
.idea
node_modules

104
chai-tests/main_spec.js

File diff suppressed because one or more lines are too long

3
tests/test.html → chai-tests/test.html

@ -6,7 +6,8 @@
<body>
<p>Check the console for test results</p>
<script src="../resemble.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/chai/3.4.1/chai.js"></script>
<!--script src="//cdnjs.cloudflare.com/ajax/libs/chai/3.4.1/chai.js"></script-->
<script src="../node_modules/chai/chai.js"></script>
<script src="main_spec.js"></script>
</body>
</html>

4
package.json

@ -21,4 +21,8 @@
"url": "https://github.com/Huddle/Resemble.js/issues"
},
"homepage": "https://github.com/Huddle/Resemble.js"
"homepage": "https://github.com/Huddle/Resemble.js",
"devDependencies": {
"chai": "^3.4.1",
},
}

79
tests/main_spec.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save