Skip to content

Commit

Permalink
backup
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkhala committed Jul 8, 2024
1 parent 462fd2f commit 4b9a4d0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ec2/node/test/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import EC2 from '../index.js';

import Metadata from '../imds.js'
describe('ec2', function () {
this.timeout(0);
const handler = new EC2();
Expand All @@ -14,4 +14,12 @@ describe('ec2', function () {
const resp = await handler.regions();
console.info(resp);
});
});
});
describe('metadata', function (){
this.timeout(0);
const metadata = new Metadata()
it('region info', async ()=>{
const result= await metadata.region()
console.info(result);
})
})

0 comments on commit 4b9a4d0

Please sign in to comment.