webpro/baseplate — pull request #3 by csnover (2013-11-28 21:37:07+00:00)
Title: Fix Intern configuration

As per the request at https://github.com/webpro/Automated-SPA-Testing/issues/3#issuecomment-29483985, this enables easy testing using Intern.

Note that `waitSeconds` is set for the RequireJS loader because on
slow machines it can take several seconds for instrumentation on
very large libraries like jQuery to complete, and RequireJS will
treat the request as timed out even though it is actually still in
progress.

Run `http://path/to/baseplate/node_modules/intern/client.html?config=test/intern/intern.config` for client testing and `node_modules/.bin/intern-runner config=test/intern/intern.config` for multi-platform testing. Note that the one test written is a view test and depends on jQuery, so testing is restricted to DOM environments (i.e. you cannot use client.js with the tests that exist right now).