0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/test/unit/modules/plugin/helper/plugin.ts

21 lines
519 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')}`]: {}
}
});