+ it("[[Construct]] throws an error", () => {
+ assertThrows(() => new generatorIteratorFunction());
+ });
+
+ describe(".length", () => {
+ it("[[Get]] returns the correct length", () => {
+ assertStrictEquals(generatorIteratorFunction.length, 1);
+ });
+ });
+
+ describe(".name", () => {
+ it("[[Get]] returns the correct name", () => {
+ assertStrictEquals(
+ generatorIteratorFunction.name,
+ "generatorIteratorFunction",
+ );
+ });
+ });
+