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

Rework core/complex parts of code to be testable in Node #30

Open
msiebuhr opened this issue Aug 30, 2012 · 0 comments
Open

Rework core/complex parts of code to be testable in Node #30

msiebuhr opened this issue Aug 30, 2012 · 0 comments

Comments

@msiebuhr
Copy link
Owner

We're beginning to have some quite complex code in the client. Quite a lot of it doesn't touch the DOM, so we should be able to unit-test it before we build/deploy changes.

Stuff I'd like tested:

  • Core search engine (http-pub/js/search.js)
  • Bits in http-pub/js/app.js: isCharCode(), Bram's unicode-surrogate/BMP-stuff, data parsing/loading/indexing, location.hash-handling, etc.

I imagine splitting the code into separate modules that works both in browsers and Node.js, and then do the testing there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant