Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Aug 8, 2024
1 parent 75eed25 commit e6e86e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/graphiql/test/e2e-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ app.post('/graphql-error/graphql', (_req, res, next) => {

// On CI we test the UMD build
if (process.env.CI === 'true') {
const __dirname = import.meta.dirname;

const indexHtml = fs.readFileSync(
path.join(__dirname, '..', 'index.html'),
'utf8',
Expand Down

0 comments on commit e6e86e3

Please sign in to comment.