(r)
| 79 | |
| 80 | it("should try to evaluate new RegExp()", function () { |
| 81 | function expectAOnly (r) { |
| 82 | r.keys().forEach(key => { |
| 83 | expect(r(key)).toBe(1); |
| 84 | }); |
| 85 | } |
| 86 | |
| 87 | expectAOnly( |
| 88 | require.context("./regexp", false, new RegExp("(?<!filtered)\\.js$", "")) |