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
Behrang Yarahmadi 13310814da
#2606 add prettier plugin sort imports (#2607)
* #2606 add prettier plugin sort imprts

* #2606 update pnpm-lock.yaml

* #2606 update eslint rules

* #2606 fixes website directory formatting

Co-authored-by: Ayush Sharma <ayush.sharma@trivago.com>
2021-10-29 17:33:05 +02:00

21 lines
520 B
TypeScript

import path from 'path';
import { configExample as config } from '@verdaccio/mock';
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')}`]: {},
},
});