From 437ed8b466cb4f3262a063c00f9af27933be84d4 Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Mon, 20 Dec 2021 17:00:49 -0500 Subject: [PATCH] cleanup test copy-paste errors --- packages/macros/tests/runtime.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/macros/tests/runtime.test.ts b/packages/macros/tests/runtime.test.ts index 9996b697d..3f8508d76 100644 --- a/packages/macros/tests/runtime.test.ts +++ b/packages/macros/tests/runtime.test.ts @@ -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 () { @@ -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 () {