Refactorings for bpmn-js, powered by AI!
npm install
npm start
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
Run the tests:
# run tests
npm test
# run OpenAI tests
npm run test:openai
MIT