@carbonorm/carbonreact 3.3.9 → 3.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -7,8 +7,6 @@ import classNames from 'classnames';
7
7
  import { faClose } from '@fortawesome/free-solid-svg-icons';
8
8
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
9
9
  import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
10
- import fs from 'fs';
11
- import { inspect } from 'util';
12
10
  import { waitFor } from '@testing-library/react';
13
11
 
14
12
  function createCommonjsModule(fn, module) {
@@ -4252,6 +4250,8 @@ function ValidSQL (sql) {
4252
4250
  }
4253
4251
 
4254
4252
  function setupTests ({ sqlDirectory = './logs/rest/', logsDirectory = './logs/tests/' } = {}) {
4253
+ const fs = require("fs");
4254
+ const { inspect } = require("util");
4255
4255
  const originalWindowLocation = window.location;
4256
4256
  const consoleOriginal = console;
4257
4257
  const testName = () => expect.getState().currentTestName?.replaceAll(" ", "_").toLowerCase();