chore: add jest global variables (#42573)

This commit is contained in:
Huyen Nguyen
2021-06-20 14:14:42 +07:00
committed by GitHub
parent 42e8b2247e
commit 2c16234853
82 changed files with 8 additions and 114 deletions

View File

@@ -1,4 +1,3 @@
/* global describe expect it */
import moment from 'moment-timezone';
import { dayCount } from './date-utils';

View File

@@ -1,7 +1,4 @@
/* eslint-disable camelcase */
/* global describe it expect */
/* global jest*/
import axios from 'axios';
import keys from '../../../../config/secrets';
import {

View File

@@ -1,4 +1,3 @@
/* global describe it expect */
import {
getAccessTokenFromRequest,
errorTypes,

View File

@@ -1,4 +1,3 @@
/* global describe beforeEach expect it jest */
import inMemoryCache from './in-memory-cache';
describe('InMemoryCache', () => {

View File

@@ -1,5 +1,3 @@
/* global describe expect it jest */
const jwt = require('jsonwebtoken');
const { getReturnTo, normalizeParams } = require('./redirection');

View File

@@ -1,4 +1,3 @@
/* global describe it expect jest */
import moment from 'moment-timezone';
import {