intuit / judo

Judo is an easy-to-use Command Line Interface (CLI) Integration Testing Framework, driven from a simple yaml file that also contains assertions.
Other
51 stars 21 forks source link

43 - folder-scoped reusable variables #52

Closed lucillewang closed 2 years ago

lucillewang commented 2 years ago

This PR tackles issue 43. Moved all the strings that are reused multiple time in the judo.test.js file into it's own constants at the top of the file. Also moved the redundent pieces of code into beforeEach blocks.