diff --git a/spec/parser/javascript/match_spec.js b/spec/parser/javascript/match_spec.js index 5ed5cb2..35e9551 100644 --- a/spec/parser/javascript/match_spec.js +++ b/spec/parser/javascript/match_spec.js @@ -27,7 +27,6 @@ describe('parser/javascript/match.js', function() { content: jasmine.objectContaining({ literal: 'example' }) }) ], - proxy: undefined }, 'example$': { anchorStart: false, @@ -36,8 +35,7 @@ describe('parser/javascript/match.js', function() { jasmine.objectContaining({ content: jasmine.objectContaining({ literal: 'example' }) }) - ], - proxy: undefined + ] }, 'example*': { anchorStart: false, @@ -49,14 +47,12 @@ describe('parser/javascript/match.js', function() { jasmine.objectContaining({ content: jasmine.objectContaining({ literal: 'e' }) }) - ], - proxy: undefined + ] }, '': { anchorStart: false, anchorEnd: false, - parts: [], - proxy: undefined + parts: [] } }, (content, str) => { it(`parses "${str}" as a Match`, function() { diff --git a/spec/parser/javascript/subexp_spec.js b/spec/parser/javascript/subexp_spec.js index 90ece7e..2f15c67 100644 --- a/spec/parser/javascript/subexp_spec.js +++ b/spec/parser/javascript/subexp_spec.js @@ -14,19 +14,16 @@ describe('parser/javascript/subexp.js', function() { '(test)': { label: 'group #1', regexp: jasmine.objectContaining({ textValue: 'test' }), - proxy: undefined, state: { groupCounter: 2 } }, '(?=test)': { label: 'positive lookahead', regexp: jasmine.objectContaining({ textValue: 'test' }), - proxy: undefined, state: { groupCounter: 1 } }, '(?!test)': { label: 'negative lookahead', regexp: jasmine.objectContaining({ textValue: 'test' }), - proxy: undefined, state: { groupCounter: 1 } }, '(?:test)': {