Reorganize test utils as a test harness package
Reorganize the test utilities (the files in the test folder) as an internal package under packages named test-harness. Then update the tests to retrieve the test utilities from this package as follows:
const { expect } = require('@antora/test-harness')
To make the package internal, set the private
key in package.json to false
. This will ensure that the package is not published, since it's only a development dependency.