Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertive-Chai Based Specs to test Bacon.js on IE8 #486

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vikikamath
Copy link

Pull Request to demonstrate #426

Note: IE8 is not supported by Expect API of chai.js. To work around this limitation, I used assertive-chai npm module that exposes only Assert API of chai.js.

  • The Assertive version of specs can be found under ie8 directory.
  • The Assertive version was written using a helper module to convert Expect API to Assert API. I am unsure if I should've committed it.

Please feel free to use as required.

To Run:

  • npm install && cd ie8 && ./browserify.sh - This will generate new bundle.js under browsertest directory, using Assertive*.coffee spec files under ie8 directory.
  • Open IE8 browser and open page to <Protocol>://<Host>[:<Port>]/ie8/mocha.runner.html
  • If the tests do not load, open the Debugger (F12)-> clear cache -> Start debugging -> Prompt for reload page -> Agree

To Simulate #426

Replace line forNow = schedule[currentTick].splice(0, schedule[currentTick].length) in AssertiveTickScheduler.coffee with forNow = schedule[currentTick].splice(0)

IE8 will timeout.

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.

1 participant