test(state): getStateConfig
feat(state): getStateConfig