| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 98fc665 commit bbdd93f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,11 @@ const assert = require('assert'); | |||
| 5 | 5 | const async_hooks = require('async_hooks'); | |
| 6 | 6 | const binding = require(`./build/${common.buildType}/binding`); | |
| 7 | 7 | ||
| 8 | + if (process.env.NODE_TEST_WITH_ASYNC_HOOKS) { | ||
| 9 | + common.skip('cannot test with env var NODE_TEST_WITH_ASYNC_HOOKS'); | ||
| 10 | + return; | ||
| 11 | + } | ||
| 12 | + | ||
| 8 | 13 | // Baseline to make sure the internal field isn't being set. | |
| 9 | 14 | assert.strictEqual( | |
| 10 | 15 | binding.getPromiseField(Promise.resolve(1)), | |
| Back | FazBrowse Home | New Git URL |
0 commit comments