Skip to content

Commit

Permalink
(test only) Integration tests: remove flatMap polyfill (#56546)
Browse files Browse the repository at this point in the history
This has been supported since Node 11. Remove this from our integration tests.

Test Plan: CI


Closes WEB-1735
  • Loading branch information
wbinnssmith committed Oct 10, 2023
1 parent 7a08f00 commit c8b2d1b
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion test/integration/build-output/test/index.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */

import 'flat-map-polyfill'
import { remove } from 'fs-extra'
import { nextBuild, File } from 'next-test-utils'
import { join } from 'path'
Expand Down
1 change: 0 additions & 1 deletion test/integration/css/test/basic-global-support.test.js
@@ -1,5 +1,4 @@
/* eslint-env jest */
import 'flat-map-polyfill'
import { readdir, readFile, remove } from 'fs-extra'
import { nextBuild } from 'next-test-utils'
import { join } from 'path'
Expand Down
1 change: 0 additions & 1 deletion test/integration/css/test/css-and-styled-jsx.test.js
@@ -1,5 +1,4 @@
/* eslint-env jest */
import 'flat-map-polyfill'
import { remove } from 'fs-extra'
import {
findPort,
Expand Down
1 change: 0 additions & 1 deletion test/integration/css/test/css-compilation.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */
import cheerio from 'cheerio'
import 'flat-map-polyfill'
import { readdir, readFile, remove } from 'fs-extra'
import {
findPort,
Expand Down
1 change: 0 additions & 1 deletion test/integration/css/test/css-modules.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */
import cheerio from 'cheerio'
import 'flat-map-polyfill'
import { readdir, readFile, remove } from 'fs-extra'
import {
check,
Expand Down
1 change: 0 additions & 1 deletion test/integration/css/test/css-rendering.test.js
@@ -1,5 +1,4 @@
/* eslint-env jest */
import 'flat-map-polyfill'
import { pathExists, readFile, readJSON, remove } from 'fs-extra'
import {
check,
Expand Down
1 change: 0 additions & 1 deletion test/integration/css/test/dev-css-handling.test.js
@@ -1,5 +1,4 @@
/* eslint-env jest */
import 'flat-map-polyfill'
import { remove } from 'fs-extra'
import {
check,
Expand Down
1 change: 0 additions & 1 deletion test/integration/css/test/valid-invalid-css.test.js
@@ -1,5 +1,4 @@
/* eslint-env jest */
import 'flat-map-polyfill'
import { readdir, readFile, remove } from 'fs-extra'
import { nextBuild } from 'next-test-utils'
import { join } from 'path'
Expand Down
1 change: 0 additions & 1 deletion test/integration/fallback-modules/test/index.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */

import 'flat-map-polyfill'
import { remove } from 'fs-extra'
import { nextBuild } from 'next-test-utils'
import { join } from 'path'
Expand Down
1 change: 0 additions & 1 deletion test/integration/scss/test/basic-global-support.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */

import 'flat-map-polyfill'
import { readdir, readFile, remove } from 'fs-extra'
import { nextBuild } from 'next-test-utils'
import { join } from 'path'
Expand Down
1 change: 0 additions & 1 deletion test/integration/scss/test/basic-scss.test.js
@@ -1,7 +1,6 @@
/* eslint-env jest */

import cheerio from 'cheerio'
import 'flat-map-polyfill'
import { readdir, readFile, remove } from 'fs-extra'
import {
File,
Expand Down
1 change: 0 additions & 1 deletion test/integration/scss/test/css-and-styled-jsx.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */

import 'flat-map-polyfill'
import { remove } from 'fs-extra'
import {
findPort,
Expand Down
1 change: 0 additions & 1 deletion test/integration/scss/test/dev-css-handling.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */

import 'flat-map-polyfill'
import { remove } from 'fs-extra'
import { File, findPort, killApp, launchApp, waitFor } from 'next-test-utils'
import webdriver from 'next-webdriver'
Expand Down
1 change: 0 additions & 1 deletion test/integration/scss/test/scss-loader-handling.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */

import 'flat-map-polyfill'
import { readdir, readFile, remove } from 'fs-extra'
import { nextBuild } from 'next-test-utils'
import { join } from 'path'
Expand Down
1 change: 0 additions & 1 deletion test/integration/scss/test/valid-invalid-scss.test.js
@@ -1,6 +1,5 @@
/* eslint-env jest */

import 'flat-map-polyfill'
import { remove } from 'fs-extra'
import { nextBuild } from 'next-test-utils'
import { join } from 'path'
Expand Down
37 changes: 0 additions & 37 deletions test/lib/flat-map-polyfill.js

This file was deleted.

0 comments on commit c8b2d1b

Please sign in to comment.