Skip to content

Commit

Permalink
Fix microtime-node-gyp binary name
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Barber committed Dec 14, 2023
1 parent 052a95e commit 2e4abf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e4abf5

Please sign in to comment.