fix: misc

This commit is contained in:
Ibrahima G. Coulibaly
2025-03-09 04:27:41 +00:00
parent 372cb95d14
commit d01e2f0f2f
4 changed files with 93 additions and 101 deletions

View File

@@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';
import { Buffer } from 'buffer';
import path from 'path';
import Jimp from 'jimp';
import { convertHexToRGBA } from '../../../../../utils/color';
import { convertHexToRGBA } from '@utils/color';
test.describe('Change colors in png', () => {
test.beforeEach(async ({ page }) => {

View File

@@ -34,7 +34,7 @@ function replaceTextWithRegexp(
return text.replace(new RegExp(searchRegexp, 'g'), replaceValue);
}
} catch (err) {
console.error('Invalid regular expression:', err);
// console.error('Invalid regular expression:', err);
return text;
}
}