elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.58k stars 8.09k forks source link

[CI] Use jest in .buildkite scripts too #187878

Open delanni opened 1 month ago

delanni commented 1 month ago

We're currently using mocha+chai in the .buildkite/* subset of our tooling. It's different and (I think) less powerful than jest - we'd have to bring some other libraries to also allow for mocking.

Let's use jest for our buildkite tooling, so we can improve testing, and open up for more convenient testing in the future.

elasticmachine commented 1 month ago

Pinging @elastic/kibana-operations (Team:Operations)

delanni commented 1 month ago

@elastic/kibana-operations - do you see any reason why we should stick with the mocha + chai tools for the buildkite scripts? Or would this be a green-light?

Ikuni17 commented 1 month ago

I don't see any reason to stick with mocha/chai, but didn't look into it much. I'd vote for jest for consistency.