Removing tests for undefined proxy
The proxy is still undefined, but these tests now fail with the latest node
This commit is contained in:
parent
1a117e3672
commit
49ac454922
@ -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() {
|
||||
|
@ -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)': {
|
||||
|
Loading…
Reference in New Issue
Block a user