mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 02:27:44 +08:00
fix(ql3): preserve transform no-replace boundary
This commit is contained in:
@@ -198,7 +198,16 @@ test('materializes and offline-audits one closed two-image trial kit', (t) => {
|
||||
encoding: 'utf8',
|
||||
});
|
||||
assert.equal(cutoverSyntax.status, 0, cutoverSyntax.stderr);
|
||||
assert.match(fs.readFileSync(cutoverRehearsal, 'utf8'), /VARIANT='headless'/);
|
||||
const cutoverRehearsalContents = fs.readFileSync(cutoverRehearsal, 'utf8');
|
||||
assert.match(cutoverRehearsalContents, /VARIANT='headless'/);
|
||||
assert.match(
|
||||
cutoverRehearsalContents,
|
||||
/"transformationRoot":"\$rehearsal_root\/data-directory\/transformation"/,
|
||||
);
|
||||
assert.doesNotMatch(
|
||||
cutoverRehearsalContents,
|
||||
/mkdir[^\n]*data-directory\/transformation|for directory in[^\n]*data-directory\/transformation/,
|
||||
);
|
||||
const report = auditLocalAlphaTrialKit({ bundleRoot: paths.outputRoot });
|
||||
assert.equal(report.compatible, true);
|
||||
assert.equal(report.sourceRevision, revision);
|
||||
|
||||
Reference in New Issue
Block a user