Skip to content

Commit cce9062

Browse files
committed
fixup! fixup! doc,test: add documentation and test on how to use addons in SEA
1 parent e93ffda commit cce9062

File tree

1 file changed

+4
-1
lines changed
  • test/node-api/test_sea_addon

1 file changed

+4
-1
lines changed

test/node-api/test_sea_addon/test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
// This tests that SEA can load addons packaged as assets by writing them to disk
33
// and loading them via process.dlopen().
44
const common = require('../../common');
5-
const { generateSEA } = require('../../common/sea');
5+
const { generateSEA, skipIfSingleExecutableIsNotSupported } = require('../../common/sea');
6+
7+
skipIfSingleExecutableIsNotSupported();
8+
69
const assert = require('assert');
710

811
const tmpdir = require('../../common/tmpdir');

0 commit comments

Comments
 (0)