["test:integration:stack-profile"]
description = "Run stack-profile Node.js integration tests"
dir = "{{config_root}}/packages/stack-profile/node"
run = [
  "npm install",
  "cargo build -p stack-profile-node",
  "cp ../../../target/debug/libstack_profile_node.dylib stack-profile-node.node 2>/dev/null || cp ../../../target/debug/libstack_profile_node.so stack-profile-node.node",
  "npx vitest run",
]
