From 80cf2e901e076e1acad03f9f4a979532f0bba3d1 Mon Sep 17 00:00:00 2001 From: csg01123119 Date: Tue, 5 Sep 2023 14:34:24 +0800 Subject: [PATCH] chore: edit dev_node_test.yml --- test/node/bucket.test.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/node/bucket.test.js b/test/node/bucket.test.js index f6e13243c..3b02fd055 100644 --- a/test/node/bucket.test.js +++ b/test/node/bucket.test.js @@ -1305,7 +1305,7 @@ describe('test/bucket.test.js', () => { } }); }); - describe.only('inventory()', () => { + describe('inventory()', () => { const inventory = { id: 'default', isEnabled: false, @@ -1323,7 +1323,7 @@ describe('test/bucket.test.js', () => { field: ['Size', 'LastModifiedDate'] } }; - console.log('inventory', inventory); + describe('putBucketInventory', () => { before(() => { inventory.OSSBucketDestination.bucket = bucket; @@ -1343,16 +1343,13 @@ describe('test/bucket.test.js', () => { }); it('should put bucket inventory when no optionalFields or no field', async () => { try { - console.log('111', bucket); await store.putBucketInventory(bucket, { ...inventory, id: 'test_optionalFields', optionalFields: {} }); - console.log('222'); await store.putBucketInventory(bucket, { ...inventory, id: 'test_field', optionalFields: {} }); inventory.optionalFields = { field: ['Size'] }; await store.putBucketInventory(bucket, { ...inventory, id: 'test_field_is_one' }); - console.log('333', inventory); assert(true); } catch (err) { assert.fail(err);