diff --git a/__tests__/config.test.js b/__tests__/config.test.js
index <HASH>..<HASH> 100644
--- a/__tests__/config.test.js
+++ b/__tests__/config.test.js
@@ -84,6 +84,7 @@ describe('jest configuration', () => {
 
   afterAll(() => {
     process.chdir(process.env.PLUGIN_TEST_DIR);
+    jest.unmock('serverless/lib/classes/CLI');
   });
 
   it('passes the serverless jest config through to jest', async () => {
Make sure serverless CLI is unmocked after config test