Debian Codegraph @

__tests__/test262/indices-property.ts

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 import "../_matchers";
2 import exec = require("../../implementation");
3 import { describeEachMode } from "../_matchers/utils";
4
5 describeEachMode(() => {
6 it("indices-property", () => {
7 let match = exec.call(/a/, "a")!;
8 // trigger lazy evaluation
9 void match.indices;
10 expect(match).toHaveOwnDataProperty("indices", {
11 writable: true,
12 enumerable: true,
13 configurable: true
14 });
15 });
16 });