fix(mocks): Fixing bad syntax in a mock file

This commit is contained in:
Chris Troutner
2022-08-03 18:57:20 -07:00
parent d73211191c
commit cc84636e54
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2021 Permissionless Software Foundation Copyright (c) 2022 Permissionless Software Foundation
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+5 -2
View File
@@ -14,6 +14,7 @@ class IpfsAdapter {
class IpfsCoordAdapter { class IpfsCoordAdapter {
constructor () { constructor () {
this.ipfsCoord = { this.ipfsCoord = {
useCases: { useCases: {
peer: { peer: {
@@ -24,8 +25,10 @@ class IpfsCoordAdapter {
peerData: [] peerData: []
} }
}, },
peerInputHandler: () => {},
state: { this.peerInputHandler = () => {}
this.state = {
serviceProviders: [] serviceProviders: []
} }
} }