generated from ttipo/project-base
fix(flutter): 라이브 점검의 테스트 전용 API 경고 정리
test_live/ 는 분석기가 테스트 폴더로 보지 않아 setMockInitialValues 가 경고로 잡혔다. CI 의 flutter analyze 는 경고 0 을 요구하므로 이유를 적고 이 줄만 예외로 둔다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -76,6 +76,8 @@ void main() {
|
||||
late String photoPath;
|
||||
|
||||
setUpAll(() async {
|
||||
// test_live/ 는 분석기가 테스트 폴더로 보지 않는다 — 이 파일도 테스트이므로 메모리 저장소를 쓴다
|
||||
// ignore: invalid_use_of_visible_for_testing_member
|
||||
SharedPreferences.setMockInitialValues({});
|
||||
prefs = await SharedPreferences.getInstance();
|
||||
session = SessionStore(MemoryTokenVault());
|
||||
|
||||
Reference in New Issue
Block a user