I fixed it by adding { provide: APP_CONFIG, useValue: {} }, to the providers for my test.
{ provide: APP_CONFIG, useValue: {} },