0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/auth/test/helper/plugin.ts

22 lines
520 B
TypeScript
Raw Normal View History

2020-03-03 17:59:19 -05:00
import path from 'path';
import { configExample as config } from '@verdaccio/mock';
2020-03-03 17:59:19 -05:00
export const authProfileConf = config({
auth: {
[`${path.join(__dirname, '../partials/plugin/authenticate.success')}`]: {},
},
2020-03-03 17:59:19 -05:00
});
export const authPluginFailureConf = config({
auth: {
[`${path.join(__dirname, '../partials/plugin/authenticate.fail')}`]: {},
},
2020-03-03 17:59:19 -05:00
});
export const authPluginPassThrougConf = config({
auth: {
[`${path.join(__dirname, '../partials/plugin/authenticate.passthroug')}`]: {},
},
2020-03-03 17:59:19 -05:00
});