Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import { fileURLToPath } from 'node:url'
import { createRequire } from 'node:module'

const here = dirname(fileURLToPath(import.meta.url))
// jsdom belongs to the dashboard package; this directory is outside the workspace globs on
// purpose, so resolve through the package that actually depends on it.
// jsdom belongs to the dashboard package; this directory deliberately has no package.json of its
// own, so resolve through the package that actually depends on it.
const require_ = createRequire(import.meta.url)
const { JSDOM } = require_(require_.resolve('jsdom', { paths: [join(here, '../../packages/framework-dashboard')] }))
const { JSDOM } = require_(require_.resolve('jsdom', { paths: [join(here, '../framework-dashboard')] }))

const block = JSON.stringify(
{
Expand Down
File renamed without changes.
File renamed without changes.
Loading