This should be using `assert.typeOf(n, "number")`. `assert.deepEqual()` should only be used to check if two objects are similar.