1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/packages/auth/test/helper/plugin.ts
Juan Picado e61bd6c78f chore: lint prettier update (#1904)
* chore: update prettier@2.x

* chore: prettier auto fix

* chore: fake circleci

we don't need it but I want make dissapear the error
2021-04-09 17:54:12 +02:00

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