mirror of
https://github.com/apache/superset.git
synced 2026-05-11 10:55:43 +00:00
chore: upgrade eslint, babel, and prettier (#12393)
This commit is contained in:
committed by
Ville Brofeldt
parent
bd6525fdf5
commit
f2afee9832
@@ -21,9 +21,7 @@ import parseCookie from 'src/utils/parseCookie';
|
||||
describe('parseCookie', () => {
|
||||
let cookieVal = '';
|
||||
Object.defineProperty(document, 'cookie', {
|
||||
get: jest.fn().mockImplementation(() => {
|
||||
return cookieVal;
|
||||
}),
|
||||
get: jest.fn().mockImplementation(() => cookieVal),
|
||||
});
|
||||
it('parses cookie strings', () => {
|
||||
cookieVal = 'val1=foo; val2=bar';
|
||||
|
||||
Reference in New Issue
Block a user