Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add comments to describe test steps
  • Loading branch information
Flarna committed May 4, 2025
commit 7d1c8380fd61eb778db0413bd4ed4bfb65ee79f3
2 changes: 2 additions & 0 deletions test/parallel/test-async-local-storage-isolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const assert = require('node:assert');
// Verify that ALS instances are independent of each other.

{
// Verify als2.enterWith() and als2.run inside als1.run()
const als1 = new AsyncLocalStorage();
const als2 = new AsyncLocalStorage();

Expand Down Expand Up @@ -33,6 +34,7 @@ const assert = require('node:assert');
}

{
Comment thread
Flarna marked this conversation as resolved.
// Verify als1.disable() has no side effects to als2 and als3
const als1 = new AsyncLocalStorage();
const als2 = new AsyncLocalStorage();
const als3 = new AsyncLocalStorage();
Expand Down