test: refactor int tests to use initPayloadInt which reduces boilerplate

This commit is contained in:
Elliot DeNolf
2024-03-16 10:11:00 -04:00
parent ef141d499b
commit 14eb66c87d
52 changed files with 103 additions and 259 deletions

View File

@@ -13,8 +13,6 @@ type TestHooks = {
}
export const createTestHooks = async (testSuiteName = '_community'): Promise<TestHooks> => {
console.log('\nUsing config:', testSuiteName, '\n')
const tsConfigPath = path.resolve(dirname, '..', 'tsconfig.json')
const tsConfig = await json5.parse(await readFile(tsConfigPath, 'utf8'))
const originalPayloadConfigTsValue =