Skip to content

Update to use QUnit v1.11.0 and merged in PRs #20, #25#27

Open
pixelhandler wants to merge 28 commits intommonteleone:masterfrom
pixelhandler:master
Open

Update to use QUnit v1.11.0 and merged in PRs #20, #25#27
pixelhandler wants to merge 28 commits intommonteleone:masterfrom
pixelhandler:master

Conversation

@pixelhandler
Copy link

  • pixelhandler/master should have all PR's merged in currently on mmonteleone/pavlov

milang and others added 28 commits August 1, 2012 10:27
- doesn't make sense to redefine it ourselves
- recommended HTML5 practice (all tests still pass)
- In IE7, current QUnit (v1.9.0pre) injects an <a>nchor
  into <h1> AFTER pavlov.specify ran, whil in other
  browsers it injects it BEFORE pavlov.specify. Switching
  from equals to contains (indexOf) allows the test
  "should update heading to suite name" to pass
  in all browsers
Since JsTestDriver does not allow commas in test names this 'quick-n-dirty'
fix is required to allow Pavlov to work in a JsTestDriver environment.

Note: a more sensible approach would be to fix JsTestDriver to not place
restrictions on test names but this seems to be way harder to fix.

Signed-off-by: Isak Bakken <isak@klarna.com>
Signed-off-by: Isak Bakken <isak@klarna.com>
Signed-off-by: Isak Bakken <isak@klarna.com>
- both JSHint and JSLint now pass pavlov.js validation
- properly handle both strings and Error objects
- equals and isEqualTo changed from using
  operator '==' to '==='
- when using 'this' in util.each iterator function,
  IE boxes numbers into objects (that look like
  numbers); using function argument instead of this
  works fine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants