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,5 +1,3 @@
/* global describe expect it */
const { getLines } = require('./get-lines');
const content = 'one\ntwo\nthree';

View File

@ -1,5 +1,3 @@
/* global describe expect it */
const slugs = require('./slugs');
describe('dasherize', () => {

View File

@ -1,5 +1,3 @@
/* global expect */
const { toSortedArray } = require('./sort-files');
const { challengeFiles } = require('./__fixtures__/challenges');

View File

@ -1,5 +1,3 @@
/* global describe expect it */
const {
isValidUsername,
usernameTooShort,