diff --git a/lib/constructs/interface.js b/lib/constructs/interface.js index 0665c6c7..fdd043f2 100644 --- a/lib/constructs/interface.js +++ b/lib/constructs/interface.js @@ -299,7 +299,7 @@ class Interface { configurable: true }, [Symbol.toStringTag]: { - value: "${this.name}Iterator", + value: "${this.name} Iterator", writable: false, enumerable: false, configurable: true diff --git a/test/__snapshots__/test.js.snap b/test/__snapshots__/test.js.snap index 6eb64dc4..39793cca 100644 --- a/test/__snapshots__/test.js.snap +++ b/test/__snapshots__/test.js.snap @@ -4897,7 +4897,7 @@ const IteratorPrototype = Object.create(utils.IteratorPrototype, { configurable: true }, [Symbol.toStringTag]: { - value: \\"URLSearchParamsIterator\\", + value: \\"URLSearchParams Iterator\\", writable: false, enumerable: false, configurable: true