pegjs/spec/helpers.js
David Majda 3d637173ee Specs cleanup: Split specs into unit and API specs
Unit specs are unit tests of internal stuff. API specs are tests of the
user-visible APIs and behavior.

I think it makes sense to make this distinction because then the public
API line is more clearly visible e.g. when using the specs as
documentation.
2014-05-23 12:57:41 +02:00

4 lines
73 B
JavaScript

if (typeof module !== "undefined") {
PEG = require("../lib/peg.js");
}