Skip to content

Commit 5e62e96

Browse files
committed
re-add utils-macros-test
1 parent 5ed57f3 commit 5e62e96

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@babel/preset-env": "^7.24.4",
4040
"@eslint/js": "^9.0.0",
4141
"@release-it-plugins/lerna-changelog": "^6.1.0",
42-
"chai": "^5.1.0",
42+
"chai": "^4.0.0",
4343
"code-equality-assertions": "^0.9.0",
4444
"eslint": "^9.0.0",
4545
"eslint-config-prettier": "^9.1.0",

pnpm-lock.yaml

Lines changed: 26 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/utils-macros-test.mjs renamed to tests/utils-macros-test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
'use strict';
22

3-
import { createRequire } from 'node:module';
4-
5-
const require = createRequire(import.meta.url);
63
const macros = require('../src/index.js');
74
const { transformSync } = require('@babel/core');
8-
import { expect, describe, it } from 'chai';
5+
const { expect } = require('chai');
96

107
describe('utils/macros.js', function () {
118
it('does not fail if an import intended to be removed has already been removed', function () {

0 commit comments

Comments
 (0)