Skip to content

Commit

Permalink
improve node-api-headers test
Browse files Browse the repository at this point in the history
  • Loading branch information
enzalito committed Jul 12, 2024
1 parent 93da33a commit aa10653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/n/node-api-headers/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ package("node-api-headers")
end)

on_test(function (package)
assert(os.isfile(path.join(package:installdir("include"), "node_api.h")))
assert(package:has_cfuncs("napi_status", {includes = "node_api.h"}))
end)

0 comments on commit aa10653

Please sign in to comment.