Skip to content

Commit

Permalink
Merge pull request #1059 from embroider-build/cleanup-tests
Browse files Browse the repository at this point in the history
cleanup test copy-paste errors
  • Loading branch information
ef4 committed Dec 21, 2021
2 parents 12809f6 + 437ed8b commit 0c23a6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/macros/tests/runtime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe(`type-only exports`, function () {

test('each exists', function () {
expect(each).toBeDefined();
expect(macroCondition).toThrow(ERROR_REGEX);
expect(each).toThrow(ERROR_REGEX);
});

test('importSync exists', function () {
Expand All @@ -35,12 +35,12 @@ describe(`type-only exports`, function () {

test('getConfig exists', function () {
expect(getConfig).toBeDefined();
expect(importSync).toThrow(ERROR_REGEX);
expect(getConfig).toThrow(ERROR_REGEX);
});

test('getOwnConfig exists', function () {
expect(getOwnConfig).toBeDefined();
expect(importSync).toThrow(ERROR_REGEX);
expect(getOwnConfig).toThrow(ERROR_REGEX);
});

test('failBuild exists', function () {
Expand Down

0 comments on commit 0c23a6b

Please sign in to comment.