Commit 757717d
committed
test: tighten vacuous assertions in cacache and spinner
- cacache.test.mts: drop toBeDefined on cacache.rm/ls — subsequent
typeof check on rm.entry/ls.stream already enforces the namespaces exist
- spinner.test.mts: consolidate 4 near-duplicate 'should accept X theme'
tests into one it.each; strengthen getCliSpinners socket test to assert
frames is an array and interval is a number instead of just toBeDefined1 parent cd9beac commit 757717d
2 files changed
Lines changed: 10 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
778 | 767 | | |
779 | 768 | | |
780 | 769 | | |
781 | 770 | | |
782 | 771 | | |
783 | 772 | | |
784 | | - | |
785 | | - | |
| 773 | + | |
| 774 | + | |
786 | 775 | | |
787 | 776 | | |
788 | 777 | | |
| |||
0 commit comments