Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Feb 3, 2023
1 parent 8cf08fc commit 4db362c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cm6-graphql/__tests__/test.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { graphqlLanguage } from '../dist/index.js';
import { fileTests } from '@lezer/generator/dist/test';

import * as fs from 'fs';
import * as path from 'path';
import * as fs from 'node:fs';
import * as path from 'node:path';

// because of the babel transformations, __dirname is the package root (cm6-graphql)
const caseDir = path.resolve(path.dirname(__dirname), '__tests__');
Expand All @@ -23,7 +23,7 @@ describe('codemirror 6 language', () => {
try {
run(graphqlLanguage.parser);
} catch (err) {
require('console').log(name, err);
require('node:console').log(name, err);
throw err;
}
});
Expand Down

0 comments on commit 4db362c

Please sign in to comment.