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
2022-08-19 20:25:20 +02:00

24 lines
569 B
TypeScript

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