Commit d751bf1
committed
fix(protect): use public API imports in tests
Import inferIndexType and validateIndexType from public API (src/index)
instead of internal helper module. Use type inference from protect()
return type instead of importing ProtectClient from internal ffi module.1 parent 6162405 commit d751bf1
File tree
2 files changed
+3
-3
lines changed- packages/protect/__tests__
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
0 commit comments