Skip to content

Commit dd271fe

Browse files
doublegateclaude
andcommitted
fix(tests): update Scan for embedded files test to use existing test data
The test was failing in CI because it referenced src/web/static/images/cook_male-32x32.png which was removed in v1.7.1 upstream cleanup (88 web UI files deleted). Changed to use tests/node/sampleData/pic.jpg which is already used by other tests and provides the same functionality for testing the scanForEmbeddedFiles operation. Fixes: Core Logic CI workflow failure on run 20291915673 Related: v1.7.1 release upstream file cleanup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2c0235e commit dd271fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/node/tests/operations.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ pCGTErs=
838838
}),
839839

840840
it("Scan for embedded files", () => {
841-
const result = chef.scanForEmbeddedFiles(fs.readFileSync("src/web/static/images/cook_male-32x32.png"));
841+
const result = chef.scanForEmbeddedFiles(fs.readFileSync("tests/node/sampleData/pic.jpg"));
842842
const expected = "Scanning data for 'magic bytes' which may indicate embedded files.";
843843
assert.ok(result.toString().indexOf(expected) === 0);
844844
}),

0 commit comments

Comments
 (0)