Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sri-plugin/unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@

expect(compilation.errors.length).toBe(1);
expect(compilation.warnings.length).toBe(0);
expect(compilation.errors[0]?.message).toMatch(

Check failure on line 146 in sri-plugin/unit.test.js

View workflow job for this annotation

GitHub Actions / Test - ubuntu-latest - Node v22.x)

sri-plugin/unit.test.js > sri-plugin/unit > errors if hash function names is not an array

expected ' × InvalidArg%2C Given napi value is n…' to match /ArrayExpected%2C Failed to get Array le…/ - Expected%3A /ArrayExpected%2C Failed to get Array length on RawSubresourceIntegrityPluginOptions.hashFuncNames/ + Received%3A " × InvalidArg%2C Given napi value is not an array on RawSubresourceIntegrityPluginOptions.hashFuncNames "
/InvalidArg, Given napi value is not an array on RawSubresourceIntegrityPluginOptions.hashFuncNames/
/ArrayExpected, Failed to get Array length on RawSubresourceIntegrityPluginOptions.hashFuncNames/
);
});

Expand Down
Loading