Skip to content

Commit b08cb1c

Browse files
authored
Merge pull request #93 from ember-cli/fix-test
re-add utils-macros-test
2 parents 5ed57f3 + e323334 commit b08cb1c

File tree

4 files changed

+30
-30
lines changed

4 files changed

+30
-30
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
jobs:
1010
lint:

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)