From 52c331b1318d7c0b1be8f809c7a15086bba6f7ad Mon Sep 17 00:00:00 2001 From: Naman Goel Date: Sat, 21 Dec 2024 13:09:11 +0300 Subject: [PATCH] fix: update types --- packages/babel-plugin/src/utils/__tests__/state-manager.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-plugin/src/utils/__tests__/state-manager.test.js b/packages/babel-plugin/src/utils/__tests__/state-manager.test.js index 06a86828..b3740d1f 100644 --- a/packages/babel-plugin/src/utils/__tests__/state-manager.test.js +++ b/packages/babel-plugin/src/utils/__tests__/state-manager.test.js @@ -255,7 +255,7 @@ describe('StateManager config parsing', () => { unstable_moduleResolution: { type: 'commonJS' }, }); expect(stateManager.options.unstable_moduleResolution).not.toBeNull(); - expect(stateManager.options.unstable_moduleResolution.type).toBe( + expect(stateManager.options.unstable_moduleResolution?.type).toBe( 'commonJS', ); });