Fix spec change tests

This commit is contained in:
Ryan Manuel
2022-03-25 17:19:31 -05:00
parent 7f33d10f58
commit 32931076a3
@@ -275,13 +275,15 @@ export class ProjectConfigManager {
return result
}
reloadConfig () {
async reloadConfig () {
// TODO: not loadingConfig
if (['errored', 'ready', 'loadedConfig'].includes(this._state)) {
this._loadConfigPromise = undefined
this._registeredEventsTarget = undefined
}
return this.initializeConfig()
await this.initializeConfig()
this.loadTestingType()
}
loadTestingType () {