mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-05 09:17:50 +02:00
Merge pull request #2912 from affaan-m/fix/packed-install-hook-consent
test(ci): confirm hooks in packed target smoke
This commit is contained in:
@@ -258,6 +258,7 @@ function runTargetSmoke(options) {
|
||||
'install',
|
||||
'--modules', 'workflow-quality',
|
||||
'--target', options.target,
|
||||
'--enable-hooks',
|
||||
'--json',
|
||||
]),
|
||||
`${options.target} packed install`
|
||||
|
||||
@@ -144,6 +144,17 @@ test('Windows public CLI invocation accepts the exact Itô capability selection'
|
||||
);
|
||||
});
|
||||
|
||||
test('workflow-quality target smoke explicitly opts into hooks', () => {
|
||||
const source = fs.readFileSync(
|
||||
path.join(__dirname, 'packed-artifact-lifecycle.js'),
|
||||
'utf8'
|
||||
);
|
||||
assert.match(
|
||||
source,
|
||||
/'--modules', 'workflow-quality'[\s\S]*'--enable-hooks'/
|
||||
);
|
||||
});
|
||||
|
||||
test('lifecycle cleanup retries Windows file locks without masking results', () => {
|
||||
const source = fs.readFileSync(
|
||||
path.join(__dirname, 'packed-artifact-lifecycle.js'),
|
||||
|
||||
Reference in New Issue
Block a user