MCPcopy
hub / github.com/FlowiseAI/Flowise / apiKey.test.ts

File apiKey.test.ts

packages/server/src/utils/apiKey.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { compareKeys, generateAPIKey, generateSecretHash } from './apiKey'
2
3describe('Api Key', () => {
4 it('should be able to generate a new api key', () => {

Callers

nothing calls this directly

Calls 3

generateAPIKeyFunction · 0.90
generateSecretHashFunction · 0.90
compareKeysFunction · 0.90

Tested by

no test coverage detected