There was an error while loading. Please reload this page.
1 parent 2507222 commit 85e0f87Copy full SHA for 85e0f87
1 file changed
test/Examples.test.js
@@ -8,7 +8,7 @@ describe("Examples", function() {
8
var examples = fs.readdirSync(path.join(__dirname, "..", "examples")).map(function(name) {
9
return path.join(__dirname, "..", "examples", name);
10
}).filter(function(p) {
11
- return fs.statSync(p).isDirectory();
+ return fs.statSync(p).isDirectory() && fs.existsSync(path.join(p, "build.js"));
12
});
13
14
examples.forEach(function(examplePath) {
0 commit comments