Fix [bundlephobia] tests and rm errant inspectJSON (#1798)

I’m guessing something has changed with the way rounding happens in bundlephobia. I don’t expect this to happen again, but if it does we can change this to a regex.
This commit is contained in:
Paul Melnikow
2018-07-25 13:46:14 -05:00
committed by GitHub
parent d572abff4f
commit fd58a5bdd0
2 changed files with 4 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ const data = [
{
format: formats.B,
get: '/min/preact/8.0.0.json',
expect: { name: 'minified size', value: '7.94 kB' },
expect: { name: 'minified size', value: '7.93 kB' },
},
{
format: formats.C,
@@ -36,7 +36,7 @@ const data = [
{
format: formats.D,
get: '/min/@cycle/core/7.0.0.json',
expect: { name: 'minified size', value: '3.51 kB' },
expect: { name: 'minified size', value: '3.5 kB' },
},
{
format: formats.A,
@@ -46,7 +46,7 @@ const data = [
{
format: formats.B,
get: '/minzip/preact/8.0.0.json',
expect: { name: 'minzipped size', value: '3.35 kB' },
expect: { name: 'minzipped size', value: '3.33 kB' },
},
{
format: formats.C,
@@ -56,7 +56,7 @@ const data = [
{
format: formats.D,
get: '/minzip/@cycle/core/7.0.0.json',
expect: { name: 'minzipped size', value: '1.23 kB' },
expect: { name: 'minzipped size', value: '1.22 kB' },
},
{
format: formats.A,