Skip to content

Instantly share code, notes, and snippets.


Wilson Page wilsonpage

View GitHub Profile

After Ryosuke, Travis, Wilson, William, and I discussed the problem for an hour over a burrito, William came up with this approach. All hail William.

View moduleA.test.js
define(['moduleA.js'], function(ModuleA){
return {
"test1": function (test) {
// run test on ModuleA
"test2": function (test) {
// run test on ModuleA
View moduleA.test.js
define([/* dependencies */], function(){{
"test my module": function (test) {
// run test