fix jasmine missing brace
supports outcome string