diff --git a/scripts/generate/testJSContent.js b/scripts/generate/testJSContent.js index 2fcd92e74..1e7509640 100644 --- a/scripts/generate/testJSContent.js +++ b/scripts/generate/testJSContent.js @@ -15,8 +15,10 @@ describe(ruleId, () => { const results = invoke(testCase) - expect(results.Missing).toEqual([]) - expect(results.Extra).toEqual([]) + expect(results).toEqual({ + Missing: [], + Extra: [] + }) }) })`; };