BuilderIO / micro-agent

An AI agent that writes (actually useful) code for you
https://www.builder.io/blog/micro-agent
MIT License
2.61k stars 206 forks source link

Add some basic tests for getConfig function #7

Closed tpaulshippy closed 3 months ago

tpaulshippy commented 3 months ago

Purpose

Starting on #2, I have added some simple tests of one of the most basic functions in the tool - reading the config file.

Approach

Use the existing test framework (vitest). I had not used vitest before, but since it is Jest compatible, I was able to get it working.

steve8708 commented 3 months ago

thanks @tpaulshippy !