To avoid being able to introduce dependencies between tests this commit makes sure that we close the document between tests so that we can't accidentally rely on state set by a previous test.
import/no-commonjs
no-array-reduce
getAll
test
rimraf
fs.rmSync
rgb