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

25 lines
569 B
TypeScript
Raw Normal View History

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