Skip to content

Commit

Permalink
Compat with the Cloud instance metadata model
Browse files Browse the repository at this point in the history
Signed-off-by: Gnanakeethan Balasubramaniam <[email protected]>
  • Loading branch information
gnanakeethan committed Oct 10, 2023
1 parent 53429b3 commit dcfa004
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/lib/tdp-finder/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ describe('tdp-finder:configure test', () => {
tdp: 6.0,
},
]);
await expect(
model.calculate([
{
'physical-processor': 'Intel Xeon E5-2676 v3',
},
])
).resolves.toStrictEqual([
{
'physical-processor': 'Intel Xeon E5-2676 v3',
tdp: 120.0,
},
]);
await expect(
model.calculate([
{
Expand Down

0 comments on commit dcfa004

Please sign in to comment.