@@ -85,8 +85,6 @@ describe('ArLocal Integration Tests', function () {
85
85
86
86
const arweaveOracle = new GatewayOracle ( gatewayUrlForArweave ( arweave ) ) ;
87
87
const fakeContractReader = new PDSContractCacheServiceContractReader ( ) ;
88
- stub ( fakeContractReader , 'readContract' ) . resolves ( stubCommunityContract ) ;
89
-
90
88
const communityOracle = new ArDriveCommunityOracle ( arweave , [ fakeContractReader ] ) ;
91
89
const priceEstimator = new ARDataPriceNetworkEstimator ( arweaveOracle ) ;
92
90
const walletDao = new WalletDAO ( arweave , 'ArLocal Integration Test' , fakeVersion ) ;
@@ -167,6 +165,7 @@ describe('ArLocal Integration Tests', function () {
167
165
168
166
beforeEach ( ( ) => {
169
167
stub ( communityOracle , 'selectTokenHolder' ) . resolves ( stubArweaveAddress ( ) ) ;
168
+ stub ( fakeContractReader , 'readContract' ) . resolves ( stubCommunityContract ) ;
170
169
} ) ;
171
170
172
171
describe ( 'when a public drive is created with `createPublicDrive`' , ( ) => {
@@ -727,7 +726,7 @@ describe('ArLocal Integration Tests', function () {
727
726
} ) ;
728
727
729
728
describe ( 'with a v2 public file transaction that has incomplete chunks' , ( ) => {
730
- it . skip ( 'and a valid metadata tx, we can restore that tx using the file ID' , async ( ) => {
729
+ it ( 'and a valid metadata tx, we can restore that tx using the file ID' , async ( ) => {
731
730
stub ( fakeGatewayApi , 'postChunk' ) . resolves ( ) ;
732
731
733
732
const wrappedFile = stub2ChunkFileToUpload ( ) ;
@@ -793,7 +792,8 @@ describe('ArLocal Integration Tests', function () {
793
792
} ) ;
794
793
} ) ;
795
794
796
- it . skip ( 'and a valid metadata tx, we can restore that tx using the parent folder ID' , async ( ) => {
795
+ it ( 'and a valid metadata tx, we can restore that tx using the parent folder ID' , async ( ) => {
796
+ stub ( fakeGatewayApi , 'postChunk' ) . resolves ( ) ;
797
797
const wrappedFile = stub3ChunkFileToUpload ( ) ;
798
798
799
799
// Upload file with `postChunk` method stubbed to RESOLVE without uploading
@@ -856,7 +856,7 @@ describe('ArLocal Integration Tests', function () {
856
856
} ) ;
857
857
} ) ;
858
858
859
- it . skip ( 'and NO valid metadata tx, we can restore that tx to an ArFS destination folder view' , async ( ) => {
859
+ it ( 'and NO valid metadata tx, we can restore that tx to an ArFS destination folder view' , async ( ) => {
860
860
stub ( fakeGatewayApi , 'postChunk' ) . throws ( 'Bad Error!' ) ;
861
861
862
862
const wrappedFile = stub258KiBFileToUpload ( ) ;
0 commit comments