Skip to content

Commit

Permalink
remove import of test constants
Browse files Browse the repository at this point in the history
  • Loading branch information
fershad committed Feb 2, 2023
1 parent 9ad3cde commit 60df40b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/co2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import fs from "fs";
import path from "path";
import { testConstants } from "./constants/index.js";
import testConstants from "./constants/test-constants.js";

import pagexray from "pagexray";

Expand Down
2 changes: 0 additions & 2 deletions src/constants/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import fileSize from "./file-size.js";
import testConstants from "./test-constants.js";

// SUSTAINABLE WEB DESIGN CONSTANTS
// this refers to the estimated total energy use for the internet around 2000 TWh,
Expand All @@ -26,7 +25,6 @@ const PERCENTAGE_OF_DATA_LOADED_ON_SUBSEQUENT_LOAD = 0.02;

export {
fileSize,
testConstants,
KWH_PER_GB,
END_USER_DEVICE_ENERGY,
NETWORK_ENERGY,
Expand Down

0 comments on commit 60df40b

Please sign in to comment.