Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 521 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 521 Bytes

@bpmn-io/refactorings 👷

Refactorings for bpmn-js, powered by AI!

Setup

npm install
npm start

OpenAI Setup

To use OpenAI, you need to create an account and get an API key. Set the API key in the .env file:

OPENAI_API_KEY="..."

To set the number of reqests sent for each test, set OPENAI_TEST_REQUESTS in the .env file:

OPENAI_TEST_REQUESTS=3

Testing

Run the tests:

# run tests
npm test

# run OpenAI tests
npm run test:openai

License

MIT