3d637173ee
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.
4 lines
73 B
JavaScript
4 lines
73 B
JavaScript
if (typeof module !== "undefined") {
|
|
PEG = require("../lib/peg.js");
|
|
}
|