阶段七:完成 React Feature 化与前置重构收口
This commit is contained in:
1 parent
375e84d663
commit
1a228dc35c
305 files changed
+14179
-5431
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package adapter
|
||||
|
||||
import "testing"
|
||||
|
||||
// TestNewSystemDependenciesRejectsNilStore 确保系统级适配器不会在缺少数据库入口时构造成功。
|
||||
func TestNewSystemDependenciesRejectsNilStore(t *testing.T) {
|
||||
// dependencies 保存缺少 Store 时的系统依赖构造结果。
|
||||
dependencies := NewSystemDependencies(nil)
|
||||
if dependencies != nil {
|
||||
t.Fatal("缺少 Store 时不应返回系统依赖")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user