Skip to content

Commit

Permalink
test(cypress): fix module resolution in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
delatrie committed Dec 2, 2024
1 parent b480449 commit d522ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/allure-cypress/test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export const runCypressInlineTest = async (

await step("Prepare files", async () => {
const allureCommonsModulePath = require.resolve("allure-js-commons");
const allureCypressModulePath = require.resolve("allure-cypress");
const allureCypressReporterModulePath = require.resolve("allure-cypress/reporter");
const allureCypressReporterModulePath = require.resolve("allure-cypress");
const allureCypressModulePath = join(dirname(allureCypressReporterModulePath), "index.js");

// eslint-disable-next-line guard-for-in
for (const testFile in testFilesToWrite) {
Expand Down

0 comments on commit d522ee3

Please sign in to comment.