medic / cht-conf-test-harness

A test harness for configurations of Community Health Toolkit applications
6 stars 3 forks source link

"Error parsing" when using cht-conf v3.19.0 or above #243

Closed kennsippell closed 10 months ago

kennsippell commented 1 year ago

Describe the bug Change https://github.com/medic/cht-conf/commit/6737828b6c63958249deed442d28695b1ed81803 added the option to omit nools boilerplate from the compiled rules output. This new output crashes cht-conf-test-harness and needs and needs to be supported

To Reproduce Steps to reproduce the behavior:

  1. npm i cht-conf@latest
  2. Run a test with harness.getTasks

What happened?

Error: Error parsing !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.e

What did you expect? Harness should work seamlessly with cht-conf versions