Skip to content

Commit

Permalink
Tests importing slash will need to be ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 18, 2022
1 parent 022577d commit 8f4061e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/govuk/all.test.js → src/govuk/all.test.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const sassdoc = require('sassdoc')
const slash = require('slash')
import sassdoc from 'sassdoc'
import slash from 'slash'

const configPaths = require('../../config/paths.js')
import configPaths from '../../config/paths.js'

const { renderSass } = require('../../lib/jest-helpers')
const { goTo, goToExample } = require('../../lib/puppeteer-helpers')
import { renderSass } from '../../lib/jest-helpers'
import { goTo, goToExample } from '../../lib/puppeteer-helpers'

describe('GOV.UK Frontend', () => {
describe('javascript', () => {
Expand Down

0 comments on commit 8f4061e

Please sign in to comment.