0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00
verdaccio/test/unit/modules/plugin/helper/plugin.ts

22 lines
526 B
TypeScript
Raw Normal View History

import path from 'path';
import config from '../../../partials/config';
export const authProfileConf = config({
auth: {
[`${path.join(__dirname, '../../../partials/plugin/authenticate.success')}`]: {},
},
});
export const authPluginFailureConf = config({
auth: {
[`${path.join(__dirname, '../../../partials/plugin/authenticate.fail')}`]: {},
},
});
export const authPluginPassThrougConf = config({
auth: {
[`${path.join(__dirname, '../../../partials/plugin/authenticate.passthroug')}`]: {},
},
});