mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: move diff_match_patch into the test package (#9475)
This commit is contained in:
parent
74bb75ce03
commit
2a0a44bc09
@ -21,7 +21,7 @@ import fs from 'fs';
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
import jpeg from 'jpeg-js';
|
import jpeg from 'jpeg-js';
|
||||||
import pixelmatch from 'pixelmatch';
|
import pixelmatch from 'pixelmatch';
|
||||||
import { diff_match_patch, DIFF_INSERT, DIFF_DELETE, DIFF_EQUAL } from 'playwright-core/src/third_party/diff_match_patch';
|
import { diff_match_patch, DIFF_INSERT, DIFF_DELETE, DIFF_EQUAL } from '../third_party/diff_match_patch';
|
||||||
import { TestInfoImpl, UpdateSnapshots } from '../types';
|
import { TestInfoImpl, UpdateSnapshots } from '../types';
|
||||||
import { addSuffixToFilePath } from '../util';
|
import { addSuffixToFilePath } from '../util';
|
||||||
|
|
||||||
|
@ -194,6 +194,13 @@ copyFiles.push({
|
|||||||
ignored: ['**/.eslintrc.js', '**/webpack*.config.js', '**/injected/**/*']
|
ignored: ['**/.eslintrc.js', '**/webpack*.config.js', '**/injected/**/*']
|
||||||
});
|
});
|
||||||
|
|
||||||
|
copyFiles.push({
|
||||||
|
files: 'packages/playwright-test/src/**/*.js',
|
||||||
|
from: 'packages/playwright-test/src',
|
||||||
|
to: 'packages/playwright-test/lib',
|
||||||
|
ignored: ['**/.eslintrc.js']
|
||||||
|
});
|
||||||
|
|
||||||
// Sometimes we require JSON files that babel ignores.
|
// Sometimes we require JSON files that babel ignores.
|
||||||
// For example, deviceDescriptorsSource.json
|
// For example, deviceDescriptorsSource.json
|
||||||
copyFiles.push({
|
copyFiles.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user