summaryrefslogtreecommitdiff
path: root/bin/fuzz-layers.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fuzz-layers.js')
-rwxr-xr-xbin/fuzz-layers.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/bin/fuzz-layers.js b/bin/fuzz-layers.js
deleted file mode 100755
index 5477757994..0000000000
--- a/bin/fuzz-layers.js
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env node
-'use strict';
-
-var through = require('through2');
-var fuzzer = require('fuzzer');
-fuzzer.seed(0);
-
-module.exports = function() {
- return through.obj(function(chunk, env, callback) {
- var json = JSON.parse(chunk.toString());
-
- json.layers.map(function(value) {
- var mutator = fuzzer.mutate.object(value);
- return mutator();
- });
-
- var data = JSON.stringify(json);
- this.push(data);
- callback();
- });
-};
-
-if (!module.parent) process.stdin.pipe(module.exports()).pipe(process.stdout);