From d0ebc21772d9b06e94ae23b7a1d09721aec7544f Mon Sep 17 00:00:00 2001 From: Matthew Edwards Date: Thu, 19 May 2022 12:20:42 -0700 Subject: [PATCH] Fix test setup. preprocessors tests pass --- packages/compat/tests/preprocessors.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/compat/tests/preprocessors.test.ts b/packages/compat/tests/preprocessors.test.ts index aec0c09f3..4ee7c840f 100644 --- a/packages/compat/tests/preprocessors.test.ts +++ b/packages/compat/tests/preprocessors.test.ts @@ -84,7 +84,9 @@ module.exports = { }, }); - addon.addDependency(PACKAGE_MY_PREPROCESSOR); + // We must explicitly pass the addonPreprocessor using the + // name is not sufficient. + addon.addDependency(addonPreprocessor); build = await BuildResult.build(app, { stage: 2,