Ensure test assertions are thorough and complete by testing both expected behavior and error conditions with specific error types and messages. Tests should cover edge cases, boundary conditions, and all relevant code branches rather than just happy path scenarios.

When using assert.throws(), always include a second argument to verify the specific error type and message:

// Instead of just:
assert.throws(() => {
  env.ns.jurisdiction('foo');
});

// Do this:
assert.throws(() => {
  env.ns.jurisdiction('foo');
}, {
  code: 'ERR_INVALID_JURISDICTION',
  message: 'Invalid jurisdiction specified'
});

Test boundary conditions and edge cases systematically:

Use appropriate assertion methods for different scenarios - assert.rejects() for async operations that should fail, assert.strictEqual() for exact matches, and verify that expected ranges or types are properly validated rather than just checking for existence.