(
importerDefinition: StateBuilderImporterDefinition,
initialState?: ImporterState
)
| 76 | protected buildSteps: ImporterAction[]; |
| 77 | |
| 78 | constructor( |
| 79 | importerDefinition: StateBuilderImporterDefinition, |
| 80 | initialState?: ImporterState |
| 81 | ) { |
| 82 | this.importerDefinition = importerDefinition; |
| 83 | this.initialState = |
| 84 | initialState ?? buildInitialState(importerDefinition.sheets); |
| 85 | this.buildSteps = []; |
| 86 | } |
| 87 | |
| 88 | public async getState(): Promise<ImporterState> { |
| 89 | let state = this.initialState; |
nothing calls this directly
no test coverage detected