Closed matyax closed 1 year ago
Not only Jest is currently the standard for testing libraries, and what we use in Grafana, but also all the tests for the LogQL formatter were written in it. So before progressing with https://github.com/grafana/lezer-logql/pull/29 we need to add the test cases for it.
This PR migrates from Mocha to Jest, adding the necessary configuration to make it work.
Not only Jest is currently the standard for testing libraries, and what we use in Grafana, but also all the tests for the LogQL formatter were written in it. So before progressing with https://github.com/grafana/lezer-logql/pull/29 we need to add the test cases for it.
This PR migrates from Mocha to Jest, adding the necessary configuration to make it work.