diff --git a/js/src/config/get.js b/js/src/config/get.js
index b6730af3..bedb5001 100644
--- a/js/src/config/get.js
+++ b/js/src/config/get.js
@@ -2,6 +2,7 @@
 'use strict'
 
 const { getDescribe, getIt, expect } = require('../utils/mocha')
+const isPlainObject = require('is-plain-object')
 
 module.exports = (createCommon, options) => {
   const describe = getDescribe(options)
@@ -32,7 +33,8 @@ module.exports = (createCommon, options) => {
     it('should retrieve the whole config', (done) => {
       ipfs.config.get((err, config) => {
         expect(err).to.not.exist()
-        expect(config).to.exist()
+        expect(config).to.be.an('object')
+        expect(isPlainObject(config)).to.equal(true)
         done()
       })
     })
@@ -40,7 +42,8 @@ module.exports = (createCommon, options) => {
     it('should retrieve the whole config (promised)', () => {
       return ipfs.config.get()
         .then((config) => {
-          expect(config).to.exist()
+          expect(config).to.be.an('object')
+          expect(isPlainObject(config)).to.equal(true)
         })
     })
 
diff --git a/package.json b/package.json
index 0965155a..694dcb7f 100644
--- a/package.json
+++ b/package.json
@@ -53,9 +53,9 @@
     "peer-id": "~0.11.0",
     "peer-info": "~0.14.1",
     "pull-stream": "^3.6.8",
-    "pump": "^3.0.0"
+    "pump": "^3.0.0",
+    "is-plain-object": "^2.0.4"
   },
-  "devDependencies": {},
   "contributors": [
     "Alan Shaw <alan@tableflip.io>",
     "Alex Potsides <alex@achingbrain.net>",