get rid of karma deprecation warning

WARN [config]: config.configure() is deprecated, please use config.set() instead.