Files
setup-node/__tests__/__snapshots__/authutil.test.ts.snap
T

32 lines
949 B
Plaintext
Raw Normal View History

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