diff --git a/packages/npm-package-json-lint-config/test/index.test.js b/packages/npm-package-json-lint-config/test/index.test.js index 178b19392c092..f226faa0623ba 100644 --- a/packages/npm-package-json-lint-config/test/index.test.js +++ b/packages/npm-package-json-lint-config/test/index.test.js @@ -1,8 +1,3 @@ -/** - * External dependencies - */ -import { isPlainObject } from 'is-plain-object'; - /** * Internal dependencies */ @@ -10,10 +5,12 @@ import config from '../'; describe( 'npm-package-json-lint config tests', () => { it( 'should be an object', () => { - expect( isPlainObject( config ) ).toBeTruthy(); + expect( config ).not.toBeNull(); + expect( typeof config ).toBe( 'object' ); } ); it( 'should have rules property as an object', () => { - expect( isPlainObject( config.rules ) ).toBeTruthy(); + expect( config.rules ).not.toBeNull(); + expect( typeof config.rules ).toBe( 'object' ); } ); } );