This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,6 @@ module.exports = (common) => {
71
71
} , done )
72
72
} )
73
73
74
- // This works because dag-cbor will just treat pbNode as a regular object
75
- it . skip ( 'dag-pb node with wrong multicodec' , ( done ) => {
76
- ipfs . dag . put ( pbNode , 'dag-cbor' , 'sha3-512' , ( err ) => {
77
- expect ( err ) . to . exist ( )
78
- done ( )
79
- } )
80
- } )
81
-
82
74
it ( 'dag-cbor with default hash func (sha2-256)' , ( done ) => {
83
75
ipfs . dag . put ( cborNode , {
84
76
format : 'dag-cbor' ,
@@ -93,22 +85,6 @@ module.exports = (common) => {
93
85
} , done )
94
86
} )
95
87
96
- it ( 'dag-cbor node with wrong multicodec' , function ( done ) {
97
- // This works in go-ipfs because dag-pb will serialize any object. If
98
- // the object has neither a `data` nor `links` field it's serialized
99
- // as an empty object
100
- if ( withGo ) {
101
- this . skip ( )
102
- }
103
- ipfs . dag . put ( cborNode , {
104
- format : 'dag-pb' ,
105
- hashAlg : 'sha3-512'
106
- } , ( err ) => {
107
- expect ( err ) . to . exist ( )
108
- done ( )
109
- } )
110
- } )
111
-
112
88
it ( 'returns the cid' , ( done ) => {
113
89
ipfs . dag . put ( cborNode , {
114
90
format : 'dag-cbor' ,
You can’t perform that action at this time.
0 commit comments