We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb8c35b commit 2d478b0Copy full SHA for 2d478b0
test/interface-tests/src/pin/ls.ts
@@ -77,6 +77,7 @@ export function testLs (factory: Factory<KuboNode>, options: MochaConfig): void
77
const pinset = await all(ipfs.pin.ls())
78
79
expect(pinset).to.not.be.empty()
80
+
81
// check the three "roots"
82
expect(pinset).to.deep.include({
83
type: 'recursive',
@@ -98,6 +99,11 @@ export function testLs (factory: Factory<KuboNode>, options: MochaConfig): void
98
99
type: 'indirect',
100
cid: fixtures.directory.files[1].cid
101
})
102
103
+ // Verify each pin has no name property
104
+ for (const pin of pinset) {
105
+ expect(pin).to.not.have.property('name')
106
+ }
107
108
109
it('should list all direct pins', async () => {
0 commit comments