diff --git a/test/unit.test.js b/test/unit.test.js index 4dc24519..1b37ab6f 100644 --- a/test/unit.test.js +++ b/test/unit.test.js @@ -206,7 +206,7 @@ for (const { testName, isRoot } of unitTests) { if (testName === 'microtime-node-gyp') { let foundMatchingBinary = false sortedFileList = sortedFileList.filter(file => { - if (file.endsWith('node-napi.node')) { + if (file.endsWith('node-napi.node') || file.endsWith('node.napi.node')) { // remove from fileList for expected checking // as it will differ per platform foundMatchingBinary = true