Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/promzard/test/validate.input')
-rw-r--r--node_modules/promzard/test/validate.input8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/promzard/test/validate.input b/node_modules/promzard/test/validate.input
new file mode 100644
index 000000000..839c06522
--- /dev/null
+++ b/node_modules/promzard/test/validate.input
@@ -0,0 +1,8 @@
+module.exports = {
+ "name": prompt("name", function (data) {
+ if (data === 'cool') return data
+ var er = new Error('not cool')
+ er.notValid = true
+ return er
+ })
+}