remove cookie test
This commit is contained in:
1 parent
43ebf91d62
commit
a5ab514077
1 file changed
+1
-7
@@ -1,4 +1,4 @@
|
|||||||
const { parser, url, request } = require('./tvpassport.com.config.js')
|
const { parser, url } = require('./tvpassport.com.config.js')
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const dayjs = require('dayjs')
|
const dayjs = require('dayjs')
|
||||||
@@ -19,12 +19,6 @@ it('can generate valid url', () => {
|
|||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('can generate valid request headers', () => {
|
|
||||||
expect(request.headers).toMatchObject({
|
|
||||||
Cookie: 'cisession=e49ff13191d6875887193cae9e324b44ef85768d;'
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
it('can parse response', () => {
|
it('can parse response', () => {
|
||||||
const content = fs.readFileSync(path.resolve(__dirname, '__data__/content.html'))
|
const content = fs.readFileSync(path.resolve(__dirname, '__data__/content.html'))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user