Skip to content

Commit

Permalink
chore(esm): fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Feb 17, 2022
1 parent cb3f436 commit 9c1b8b7
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion baker/SiteBaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as path from "path"
import * as glob from "glob"
import { without } from "lodash-es"
import * as lodash from "lodash-es"
import * as cheerio from "cheerio"
import cheerio from "cheerio"
import ProgressBar from "progress"
import * as wpdb from "../db/wpdb.js"
import * as db from "../db/db.js"
Expand Down
2 changes: 1 addition & 1 deletion baker/formatWordpressPost.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as cheerio from "cheerio"
import cheerio from "cheerio"
import urlSlug from "url-slug"
import * as lodash from "lodash-es"
import React from "react"
Expand Down
2 changes: 1 addition & 1 deletion baker/formatting.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as cheerio from "cheerio"
import cheerio from "cheerio"
import {
DataValueConfiguration,
DataValueQueryArgs,
Expand Down
2 changes: 1 addition & 1 deletion baker/siteRenderers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
PROMINENT_LINK_CLASSNAME,
WITH_IMAGE,
} from "../site/blocks/ProminentLink.js"
import * as cheerio from "cheerio"
import cheerio from "cheerio"
import { FullPost, WP_PostType } from "../clientUtils/owidTypes.js"
import * as wpdb from "../db/wpdb.js"
import {
Expand Down
2 changes: 1 addition & 1 deletion baker/siteRenderers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
getGrapherExportsByUrl,
GrapherExports,
} from "../baker/GrapherBakingUtils.js"
import * as cheerio from "cheerio"
import cheerio from "cheerio"
import { Post } from "../db/model/Post.js"
import {
BAKED_BASE_URL,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion grapher/color/ColorBrewerSchemes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as colorbrewer from "colorbrewer"
import colorbrewer from "colorbrewer"
import { Color } from "../../coreTable/CoreTableConstants.js"
import { ColorSchemeInterface, ColorSchemeName } from "./ColorConstants.js"

Expand Down
2 changes: 1 addition & 1 deletion site/formatGlossary.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /usr/bin/env jest

import * as cheerio from "cheerio"
import cheerio from "cheerio"
import ReactDOMServer from "react-dom/server.js"
import React from "react"
import {
Expand Down
2 changes: 1 addition & 1 deletion site/formatting.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as cheerio from "cheerio"
import cheerio from "cheerio"
import React from "react"
import ReactDOMServer from "react-dom/server.js"
import {
Expand Down

0 comments on commit 9c1b8b7

Please sign in to comment.