changes deprecated configure function for karma