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/npm-user-validate/test/pw.test.js')
-rw-r--r--node_modules/npm-user-validate/test/pw.test.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/node_modules/npm-user-validate/test/pw.test.js b/node_modules/npm-user-validate/test/pw.test.js
deleted file mode 100644
index d57401da0..000000000
--- a/node_modules/npm-user-validate/test/pw.test.js
+++ /dev/null
@@ -1,32 +0,0 @@
-var test = require('tap').test
-var v = require('../npm-user-validate.js').pw
-
-test('pw contains a \'', function (t) {
- err = v('\'')
- t.type(err, 'null')
- t.end()
-})
-
-test('pw contains a :', function (t) {
- err = v(':')
- t.type(err, 'null')
- t.end()
-})
-
-test('pw contains a @', function (t) {
- err = v('@')
- t.notOk(err, 'null')
- t.end()
-})
-
-test('pw contains a "', function (t) {
- err = v('"')
- t.type(err, 'null')
- t.end()
-})
-
-test('pw is ok', function (t) {
- err = v('duck')
- t.type(err, 'null')
- t.end()
-})