Sha256: 57582c95c795129bb87457bd8671d60f0b8b856352cc5ee501d49c8ac068afe0
Contents?: true
Size: 709 Bytes
Versions: 33
Compression:
Stored size: 709 Bytes
Contents
const envKeyToSetting = require('./envKeyToSetting'); const fixtures = [ [ 'FOO', 'foo', ], [ '//npm.pkg.github.com/:_authToken', '//npm.pkg.github.com/:_authToken', ], [ '_authToken', '_authToken', ], [ '//npm.pkg.github.com/:_authtoken', '//npm.pkg.github.com/:_authToken', ], [ '_authtoken', '_authToken', ], [ '//npm.pkg.github.com/:_auth', '//npm.pkg.github.com/:_auth', ], [ '_auth', '_auth', ], [ '//npm.pkg.github.com/:_always_auth', '//npm.pkg.github.com/:_always-auth', ], [ '_always_auth', '_always-auth', ], ]; test('envKeyToSetting()', () => { for (const [key, expected] of fixtures) { expect(envKeyToSetting(key)).toBe(expected); } })
Version data entries
33 entries across 33 versions & 1 rubygems