diff --git a/checks/raw/binary_artifact_test.go b/checks/raw/binary_artifact_test.go index 2f29599ac6ae..92181c8a45d6 100644 --- a/checks/raw/binary_artifact_test.go +++ b/checks/raw/binary_artifact_test.go @@ -41,6 +41,15 @@ func TestBinaryArtifacts(t *testing.T) { getFileContentCount int expect int }{ + { + name: "Wasm file", + err: nil, + files: [][]string{ + {"../testdata/binaryartifacts/wasms/simple.wasm"}, + }, + getFileContentCount: 1, + expect: 1, + }, { name: "Jar file", err: nil, diff --git a/checks/testdata/binaryartifacts/wasms/simple.wasm b/checks/testdata/binaryartifacts/wasms/simple.wasm new file mode 100644 index 000000000000..a2e9ad6acbc7 Binary files /dev/null and b/checks/testdata/binaryartifacts/wasms/simple.wasm differ