From fa6e37b342fdf53e551e6d5ecf48a9d13b56e6c6 Mon Sep 17 00:00:00 2001 From: Gabriel Weyer Date: Sat, 3 Aug 2024 08:29:37 +1000 Subject: [PATCH] Reflect price update --- .../cultureCurrencies.test.ts.snap | 58 +++++++++---------- parser/e2e/__snapshots__/gpu.test.ts.snap | 2 +- .../operatingSystem.test.ts.snap | 2 +- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/parser/e2e/__snapshots__/cultureCurrencies.test.ts.snap b/parser/e2e/__snapshots__/cultureCurrencies.test.ts.snap index 381e111..f916537 100644 --- a/parser/e2e/__snapshots__/cultureCurrencies.test.ts.snap +++ b/parser/e2e/__snapshots__/cultureCurrencies.test.ts.snap @@ -1,59 +1,59 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`End-to-end tests for supported cultures and currencies cs-cz - Čeština EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies cs-cz - Čeština EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies da-dk - Dansk DKK - Danish Krone (kr) 1`] = `"D2 v3,2,8,"1,4594","0,817","1,1964","0,554","0,9969","0,3544","0,1459","0,0817","1,2061","0,5637","1,0264","0,384""`; +exports[`End-to-end tests for supported cultures and currencies da-dk - Dansk DKK - Danish Krone (kr) 1`] = `"D2 v3,2,8,"1,442","0,8072","1,1821","0,5474","0,985","0,3502","0,1586","0,0888","1,1917","0,557","1,0141","0,3794""`; -exports[`End-to-end tests for supported cultures and currencies de-de - Deutsch CHF - Swiss Franc. (chf) 1`] = `"D2 v3,2,8,"0,1875","0,105","0,1537","0,0712","0,1281","0,0455","0,0188","0,0105","0,155","0,0724","0,1319","0,0493""`; +exports[`End-to-end tests for supported cultures and currencies de-de - Deutsch CHF - Swiss Franc. (chf) 1`] = `"D2 v3,2,8,"0,1853","0,1037","0,1519","0,0703","0,1265","0,045","0,0204","0,0114","0,1531","0,0716","0,1303","0,0487""`; -exports[`End-to-end tests for supported cultures and currencies de-de - Deutsch EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies de-de - Deutsch EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies en-au - English (Australia) AUD - Australian Dollar ($) 1`] = `"D2 v3,2,8,0.3142,0.1759,0.2576,0.1193,0.2146,0.0763,0.0314,0.0176,0.2597,0.1214,0.221,0.0827"`; +exports[`End-to-end tests for supported cultures and currencies en-au - English (Australia) AUD - Australian Dollar ($) 1`] = `"D2 v3,2,8,0.3198,0.179,0.2622,0.1214,0.2185,0.0777,0.0352,0.0197,0.2643,0.1235,0.2249,0.0842"`; -exports[`End-to-end tests for supported cultures and currencies en-ca - English (Canada) CAD - Canadian Dollar ($) 1`] = `"D2 v3,2,8,0.2862,0.1602,0.2346,0.1087,0.1955,0.0695,0.0286,0.016,0.2365,0.1106,0.2013,0.0753"`; +exports[`End-to-end tests for supported cultures and currencies en-ca - English (Canada) CAD - Canadian Dollar ($) 1`] = `"D2 v3,2,8,0.2895,0.1621,0.2374,0.1099,0.1978,0.0703,0.0318,0.0178,0.2393,0.1118,0.2036,0.0762"`; -exports[`End-to-end tests for supported cultures and currencies en-gb - English (UK) GBP - British Pound (£) 1`] = `"D2 v3,2,8,0.1656,0.0927,0.1357,0.0629,0.1131,0.0402,0.0166,0.0093,0.1368,0.064,0.1164,0.0436"`; +exports[`End-to-end tests for supported cultures and currencies en-gb - English (UK) GBP - British Pound (£) 1`] = `"D2 v3,2,8,0.1627,0.0911,0.1334,0.0618,0.1111,0.0395,0.0179,0.01,0.1345,0.0628,0.1144,0.0428"`; -exports[`End-to-end tests for supported cultures and currencies en-gb - English (UK) NZD - New Zealand Dollar ($) 1`] = `"D2 v3,2,8,0.3434,0.1922,0.2815,0.1304,0.2346,0.0834,0.0343,0.0192,0.2838,0.1326,0.2415,0.0903"`; +exports[`End-to-end tests for supported cultures and currencies en-gb - English (UK) NZD - New Zealand Dollar ($) 1`] = `"D2 v3,2,8,0.3563,0.1994,0.2921,0.1352,0.2433,0.0865,0.0392,0.0219,0.2944,0.1376,0.2506,0.0937"`; -exports[`End-to-end tests for supported cultures and currencies en-in - English (India) INR - Indian Rupee (₹) 1`] = `"D2 v3,2,8,17.4685,9.779,14.3208,6.6313,11.9321,4.2426,1.7468,0.9779,14.437,6.7475,12.2856,4.5961"`; +exports[`End-to-end tests for supported cultures and currencies en-in - English (India) INR - Indian Rupee (₹) 1`] = `"D2 v3,2,8,17.5014,9.7974,14.3478,6.6438,11.9545,4.2506,1.9252,1.0777,14.4642,6.7602,12.3088,4.6048"`; -exports[`End-to-end tests for supported cultures and currencies en-us - English (US) USD - US Dollar ($) 1`] = `"D2 v3,2,8,0.209,0.117,0.1713,0.0793,0.1428,0.0508,0.0209,0.0117,0.1727,0.0807,0.147,0.055"`; +exports[`End-to-end tests for supported cultures and currencies en-us - English (US) USD - US Dollar ($) 1`] = `"D2 v3,2,8,0.209,0.117,0.1713,0.0793,0.1428,0.0508,0.023,0.0129,0.1727,0.0807,0.147,0.055"`; -exports[`End-to-end tests for supported cultures and currencies es-es - Español EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies es-es - Español EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies es-mx - Español (MX) USD - US Dollar ($) 1`] = `"D2 v3,2,8,0.209,0.117,0.1713,0.0793,0.1428,0.0508,0.0209,0.0117,0.1727,0.0807,0.147,0.055"`; +exports[`End-to-end tests for supported cultures and currencies es-mx - Español (MX) USD - US Dollar ($) 1`] = `"D2 v3,2,8,0.209,0.117,0.1713,0.0793,0.1428,0.0508,0.023,0.0129,0.1727,0.0807,0.147,0.055"`; -exports[`End-to-end tests for supported cultures and currencies fr-ca - Français (Canada) CAD - Canadian Dollar ($) 1`] = `"D2 v3,2,8,"0,2862","0,1602","0,2346","0,1087","0,1955","0,0695","0,0286","0,016","0,2365","0,1106","0,2013","0,0753""`; +exports[`End-to-end tests for supported cultures and currencies fr-ca - Français (Canada) CAD - Canadian Dollar ($) 1`] = `"D2 v3,2,8,"0,2895","0,1621","0,2374","0,1099","0,1978","0,0703","0,0318","0,0178","0,2393","0,1118","0,2036","0,0762""`; -exports[`End-to-end tests for supported cultures and currencies fr-fr - Français CHF - Swiss Franc. (chf) 1`] = `"D2 v3,2,8,"0,1875","0,105","0,1537","0,0712","0,1281","0,0455","0,0188","0,0105","0,155","0,0724","0,1319","0,0493""`; +exports[`End-to-end tests for supported cultures and currencies fr-fr - Français CHF - Swiss Franc. (chf) 1`] = `"D2 v3,2,8,"0,1853","0,1037","0,1519","0,0703","0,1265","0,045","0,0204","0,0114","0,1531","0,0716","0,1303","0,0487""`; -exports[`End-to-end tests for supported cultures and currencies fr-fr - Français EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies fr-fr - Français EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies hu-hu - Magyar EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies hu-hu - Magyar EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies it-it - Italiano CHF - Swiss Franc. (chf) 1`] = `"D2 v3,2,8,"0,1875","0,105","0,1537","0,0712","0,1281","0,0455","0,0188","0,0105","0,155","0,0724","0,1319","0,0493""`; +exports[`End-to-end tests for supported cultures and currencies it-it - Italiano CHF - Swiss Franc. (chf) 1`] = `"D2 v3,2,8,"0,1853","0,1037","0,1519","0,0703","0,1265","0,045","0,0204","0,0114","0,1531","0,0716","0,1303","0,0487""`; -exports[`End-to-end tests for supported cultures and currencies it-it - Italiano EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies it-it - Italiano EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies ja-jp - 日本語 JPY - Japanese Yen (¥) 1`] = `"D2 v3,2,8,33.5685,18.792,27.5198,12.7432,22.9294,8.1528,3.3569,1.8792,27.743,12.9664,23.6088,8.8322"`; +exports[`End-to-end tests for supported cultures and currencies ja-jp - 日本語 JPY - Japanese Yen (¥) 1`] = `"D2 v3,2,8,32.1975,18.0244,26.3958,12.2227,21.9929,7.8198,3.5417,1.9827,26.6099,12.4369,22.6445,8.4715"`; -exports[`End-to-end tests for supported cultures and currencies ko-kr - 한국어 KRW - Korean Won (₩) 1`] = `"D2 v3,2,8,290.2488,162.4838,237.9484,110.1834,198.258,70.493,29.0249,16.2484,239.8788,112.1138,204.1324,76.3674"`; +exports[`End-to-end tests for supported cultures and currencies ko-kr - 한국어 KRW - Korean Won (₩) 1`] = `"D2 v3,2,8,288.8171,161.6823,236.7747,109.6399,197.28,70.1452,31.7699,17.7851,238.6956,111.5608,203.1255,75.9907"`; -exports[`End-to-end tests for supported cultures and currencies nb-no - Norsk NOK - Norwegian Krone (kr) 1`] = `"D2 v3,2,8,"2,2313","1,2491","1,8292","0,847","1,5241","0,5419","0,2231","0,1249","1,844","0,8619","1,5693","0,5871""`; +exports[`End-to-end tests for supported cultures and currencies nb-no - Norsk NOK - Norwegian Krone (kr) 1`] = `"D2 v3,2,8,"2,2996","1,2873","1,8852","0,873","1,5707","0,5585","0,253","0,1416","1,9005","0,8882","1,6173","0,605""`; -exports[`End-to-end tests for supported cultures and currencies nl-nl - Nederlands EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies nl-nl - Nederlands EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies pl-pl - Polski EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies pl-pl - Polski EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies pt-br - Português (Brasil) BRL - Brazilian Real (R$) 1`] = `"D2 v3,2,8,"1,1505","0,644","0,9432","0,4367","0,7858","0,2794","0,115","0,0644","0,9508","0,4444","0,8091","0,3027""`; +exports[`End-to-end tests for supported cultures and currencies pt-br - Português (Brasil) BRL - Brazilian Real (R$) 1`] = `"D2 v3,2,8,"1,1834","0,6625","0,9701","0,4492","0,8083","0,2874","0,1302","0,0729","0,978","0,4571","0,8323","0,3114""`; -exports[`End-to-end tests for supported cultures and currencies pt-pt - Português EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1957","0,1095","0,1604","0,0743","0,1337","0,0475","0,0196","0,011","0,1617","0,0756","0,1376","0,0515""`; +exports[`End-to-end tests for supported cultures and currencies pt-pt - Português EUR - Euro (€) 1`] = `"D2 v3,2,8,"0,1932","0,1082","0,1584","0,0734","0,132","0,0469","0,0213","0,0119","0,1597","0,0746","0,1359","0,0508""`; -exports[`End-to-end tests for supported cultures and currencies ru-ru - Pусский RUB - Russian Ruble (руб) 1`] = `"D2 v3,2,8,"18,5279","10,3721","15,1893","7,0335","12,6557","4,4999","1,8528","1,0372","15,3125","7,1567","13,0307","4,8749""`; +exports[`End-to-end tests for supported cultures and currencies ru-ru - Pусский RUB - Russian Ruble (руб) 1`] = `"D2 v3,2,8,"18,0788","10,1206","14,8211","6,863","12,3489","4,3908","1,9887","1,1133","14,9414","6,9832","12,7148","4,7567""`; -exports[`End-to-end tests for supported cultures and currencies sv-se - Svenska SEK - Swedish Krona (kr) 1`] = `"D2 v3,2,8,"2,207","1,2355","1,8093","0,8378","1,5075","0,536","0,2207","0,1235","1,824","0,8525","1,5522","0,5807""`; +exports[`End-to-end tests for supported cultures and currencies sv-se - Svenska SEK - Swedish Krona (kr) 1`] = `"D2 v3,2,8,"2,2634","1,2671","1,8556","0,8592","1,5461","0,5497","0,249","0,1394","1,8706","0,8743","1,5919","0,5955""`; -exports[`End-to-end tests for supported cultures and currencies tr-tr - Türkçe USD - US Dollar ($) 1`] = `"D2 v3,2,8,"0,209","0,117","0,1713","0,0793","0,1428","0,0508","0,0209","0,0117","0,1727","0,0807","0,147","0,055""`; +exports[`End-to-end tests for supported cultures and currencies tr-tr - Türkçe USD - US Dollar ($) 1`] = `"D2 v3,2,8,"0,209","0,117","0,1713","0,0793","0,1428","0,0508","0,023","0,0129","0,1727","0,0807","0,147","0,055""`; -exports[`End-to-end tests for supported cultures and currencies zh-tw - 中文(繁體) TWD - Taiwanese Dollar (NT$) 1`] = `"D2 v3,2,8,6.8011,3.8073,5.5756,2.5818,4.6456,1.6518,0.6801,0.3807,5.6208,2.627,4.7832,1.7894"`; +exports[`End-to-end tests for supported cultures and currencies zh-tw - 中文(繁體) TWD - Taiwanese Dollar (NT$) 1`] = `"D2 v3,2,8,6.87,3.8459,5.6321,2.608,4.6927,1.6685,0.7557,0.423,5.6778,2.6537,4.8317,1.8076"`; diff --git a/parser/e2e/__snapshots__/gpu.test.ts.snap b/parser/e2e/__snapshots__/gpu.test.ts.snap index bed04b4..c5affda 100644 --- a/parser/e2e/__snapshots__/gpu.test.ts.snap +++ b/parser/e2e/__snapshots__/gpu.test.ts.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`End-to-end tests for instances with GPUs No reserved instances 1`] = `"H16mr,16,224,4.742,2.861,N/A,N/A,N/A,N/A,0.5833,0.2861,3.1175,2.3815,2.501,1.765"`; +exports[`End-to-end tests for instances with GPUs No reserved instances 1`] = `"H16mr,16,224,4.742,2.861,N/A,N/A,N/A,N/A,0.6165,0.3147,3.1175,2.3815,2.501,1.765"`; diff --git a/parser/e2e/__snapshots__/operatingSystem.test.ts.snap b/parser/e2e/__snapshots__/operatingSystem.test.ts.snap index 838ede9..6643d11 100644 --- a/parser/e2e/__snapshots__/operatingSystem.test.ts.snap +++ b/parser/e2e/__snapshots__/operatingSystem.test.ts.snap @@ -2,4 +2,4 @@ exports[`End-to-end tests for supported operating systems CentOS or Ubuntu linux (instance without savings plan) 1`] = `"S96,96,768,N/A,N/A,4.0808,N/A,2.0712,N/A,N/A,N/A,N/A,N/A,N/A,N/A"`; -exports[`End-to-end tests for supported operating systems Ubuntu Advantage Essential (no hybrid benefit) 1`] = `"D2 v3,2,8,0.126,N/A,0.0883,N/A,0.0598,N/A,0.0207,N/A,0.0897,N/A,0.064,N/A"`; +exports[`End-to-end tests for supported operating systems Ubuntu Advantage Essential (no hybrid benefit) 1`] = `"D2 v3,2,8,0.126,N/A,0.0883,N/A,0.0598,N/A,0.0219,N/A,0.0897,N/A,0.064,N/A"`;