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:
Jacob Smith 2025-06-26 22:01:15 +02:00 committed by GitHub
parent dbd24b1651
commit 5b0c7dba0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.`,
);
}