File: init.js.snap

package info (click to toggle)
node-yarnpkg 1.13.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,036 kB
  • sloc: sh: 323; makefile: 19
file content (51 lines) | stat: -rw-r--r-- 1,177 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`init --yes --private should create package.json with defaults and private true: init-yes-private 1`] = `
Object {
  "license": "MIT",
  "main": "index.js",
  "name": "init-yes-private",
  "private": true,
  "version": "1.0.0",
}
`;

exports[`init --yes should create package.json with defaults: init-yes 1`] = `
Object {
  "license": "MIT",
  "main": "index.js",
  "name": "init-yes",
  "version": "1.0.0",
}
`;

exports[`init and give private empty: init-private-empty 1`] = `
Object {
  "license": "MIT",
  "main": "index.js",
  "name": "private-empty",
  "version": "1.0.0",
}
`;

exports[`init should use init-* configs when defined: init-config 1`] = `
Object {
  "author": "Kittens McKitty <yarn@yarnpkg.com> (https://yarnpkg.com)",
  "license": "BSD",
  "main": "index.js",
  "name": "init-config",
  "private": true,
  "version": "0.0.0-alpha",
}
`;

exports[`init using Github shorthand should resolve to full repository URL: init-github 1`] = `
Object {
  "license": "MIT",
  "main": "index.js",
  "name": "hi-github",
  "private": false,
  "repository": "https://github.com/user/repo",
  "version": "1.0.0",
}
`;