`assert.ok(visible.calledWith('singleline'))` ?

If you really want to check the first call: only
`assert.ok(visible.firstCall.calledWith('singleline'))`