2019-08-07 06:26:04 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-05-02 21:51:47 +08:00
|
|
|
exports[`authutil tests Appends trailing slash to registry 1`] = `
|
2019-08-07 06:26:04 +08:00
|
|
|
"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
|
2019-09-03 22:57:45 +08:00
|
|
|
registry=https://registry.npmjs.org/
|
|
|
|
always-auth=false"
|
2019-08-07 06:26:04 +08:00
|
|
|
`;
|
|
|
|
|
2020-05-02 21:51:47 +08:00
|
|
|
exports[`authutil tests Automatically configures GPR scope 1`] = `
|
2019-08-07 06:26:04 +08:00
|
|
|
"npm.pkg.github.com/:_authToken=\${NODE_AUTH_TOKEN}
|
2019-09-03 22:57:45 +08:00
|
|
|
@ownername:registry=npm.pkg.github.com/
|
|
|
|
always-auth=false"
|
2019-08-07 06:26:04 +08:00
|
|
|
`;
|
|
|
|
|
2020-05-02 21:51:47 +08:00
|
|
|
exports[`authutil tests Configures scoped npm registries 1`] = `
|
2019-08-07 06:26:04 +08:00
|
|
|
"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
|
2019-09-03 22:57:45 +08:00
|
|
|
@myscope:registry=https://registry.npmjs.org/
|
|
|
|
always-auth=false"
|
|
|
|
`;
|
|
|
|
|
2020-05-02 21:51:47 +08:00
|
|
|
exports[`authutil tests Sets up npmrc for always-auth true 1`] = `
|
2019-09-03 22:57:45 +08:00
|
|
|
"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
|
|
|
|
registry=https://registry.npmjs.org/
|
|
|
|
always-auth=true"
|
2019-08-07 06:26:04 +08:00
|
|
|
`;
|
|
|
|
|
2020-05-02 21:51:47 +08:00
|
|
|
exports[`authutil tests Sets up npmrc for npmjs 1`] = `
|
2019-08-07 06:26:04 +08:00
|
|
|
"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
|
2019-09-03 22:57:45 +08:00
|
|
|
registry=https://registry.npmjs.org/
|
|
|
|
always-auth=false"
|
2019-08-07 06:26:04 +08:00
|
|
|
`;
|