Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit c9f23df

Browse files
author
Alan Shaw
committed
fix: name tests
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 0562ace commit c9f23df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/core/name.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const df = DaemonFactory.create({ type: 'proc' })
2121

2222
const ipfsRef = '/ipfs/QmPFVLPmp9zv5Z5KUqLhe2EivAGccQW2r7M7jhVJGLZoZU'
2323

24-
describe.only('name', function () {
24+
describe('name', function () {
2525
if (!isNode) {
2626
return
2727
}
@@ -403,7 +403,7 @@ describe.only('name', function () {
403403
node.add(fixture, (err, res) => {
404404
expect(err).to.not.exist()
405405

406-
node.name.publish(`/ipfs/${res[0].hash}`, (err, res) => {
406+
node.name.publish(`/ipfs/${res[0].hash}`, (err) => {
407407
expect(err).to.not.exist()
408408

409409
ipnsPath.resolvePath(node, `/ipfs/${res[0].hash}`, (err, value) => {
@@ -418,7 +418,7 @@ describe.only('name', function () {
418418
it('should resolve an ipns path correctly', function (done) {
419419
node.add(fixture, (err, res) => {
420420
expect(err).to.not.exist()
421-
node.name.publish(`/ipfs/${res[0].hash}`, (err, res) => {
421+
node.name.publish(`/ipfs/${res[0].hash}`, (err) => {
422422
expect(err).to.not.exist()
423423
ipnsPath.resolvePath(node, `/ipns/${nodeId}`, (err, value) => {
424424
expect(err).to.not.exist()

0 commit comments

Comments
 (0)