Skip to content

Commit

Permalink
chore: optimize report logic
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw committed Jul 28, 2024
1 parent f1adf58 commit 22bbff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-integration/src/playwright/reporter/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function generateTestData(testDataList: Array<TestData>) {

// Replace file contents
fileContent = fileContent.replace(searchValue, replaceValue);
fileContent = fileContent.replace('8080', '9988');
fileContent = fileContent.replaceAll('8080', '9988');

// Writes the modified content to the file
fsExtra.outputFileSync(filePath, fileContent);
Expand Down

0 comments on commit 22bbff1

Please sign in to comment.