summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju/test/update/author.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju/test/update/author.yaml')
-rw-r--r--deps/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju/test/update/author.yaml31
1 files changed, 0 insertions, 31 deletions
diff --git a/deps/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju/test/update/author.yaml b/deps/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju/test/update/author.yaml
deleted file mode 100644
index 4b08bb61b4..0000000000
--- a/deps/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju/test/update/author.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-input: |
- { "name": "just-a-demo",
- "version": "0.1.2",
- "description": "blahblahblah",
- "main": "test.js",
- "scripts": { "test": "echo \"Error: no test specified\" && exit 1" },
- "author": "John Doe <whoever@google.com>",
- "license": "BSD-2-Clause" }
-
-output: |
- { "name": "just-a-demo",
- "version": "0.1.2",
- "description": "blahblahblah",
- "main": "test.js",
- "scripts": { "test": "echo \"Error: no test specified\" && exit 1" },
- "author": {
- "name": "John Doe",
- "email": "whoever@google.com"
- },
- "license": "BSD-2-Clause" }
-
-test: !!js/function |
- function(jju, input) {
- obj = jju.parse(input)
- obj.author = {
- name: 'John Doe',
- email: 'whoever@google.com',
- }
- return jju.update(input, obj)
- }
-