Replace karma.configure() by karma.set(). Configure method is deprecated.