tiddlywiki
Version:
a non-linear personal web notebook
23 lines (14 loc) • 358 B
JavaScript
/*\
title: cyclic/program.js
type: application/javascript
module-type: library
Cycle require test
\*/
var test = require("test");
var a = require("./a");
var b = require("./b");
test.assert(a.a, "a exists");
test.assert(b.b, "b exists");
test.assert(a.a().b === b.b, "a gets b");
test.assert(b.b().a === a.a, "b gets a");
test.print("DONE", "info");