mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
test_runner: correct "already mocked" error punctuation placement
PR-URL: https://github.com/nodejs/node/pull/58840 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
dbd24b1651
commit
5b0c7dba0e
|
|
@ -671,7 +671,7 @@ class MockTracker {
|
|||
|
||||
if (baseURL.searchParams.has(kMockSearchParam)) {
|
||||
throw new ERR_INVALID_STATE(
|
||||
`Cannot mock '${specifier}.' The module is already mocked.`,
|
||||
`Cannot mock '${specifier}'. The module is already mocked.`,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user