From d4e748ace7bbcb20ef7c55392eaaffa7212944f1 Mon Sep 17 00:00:00 2001 From: Kylor Hall Date: Tue, 5 Nov 2024 12:21:58 +1300 Subject: [PATCH] Fixup parcel snapshots (expected sorting changes) --- .../src/__tests__/transformer.parceltest.ts | 14 +++++++------- .../src/__tests__/transformer.parceltest.ts | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/parcel-transformer-external/src/__tests__/transformer.parceltest.ts b/packages/parcel-transformer-external/src/__tests__/transformer.parceltest.ts index 11d69fa4c..a25bd312f 100644 --- a/packages/parcel-transformer-external/src/__tests__/transformer.parceltest.ts +++ b/packages/parcel-transformer-external/src/__tests__/transformer.parceltest.ts @@ -54,18 +54,15 @@ it('transforms assets with compiled and extraction babel plugins', async () => { singleQuote: true, }) ).toMatchInlineSnapshot(` - "._1wyb12am { + "._19itlf8h { + border: 2px solid blue; + } + ._1wyb12am { font-size: 50px; } ._syaz13q2 { color: blue; } - ._19bv1vi7 { - padding-left: 32px; - } - ._19itlf8h { - border: 2px solid blue; - } ._19pk1ul9 { margin-top: 30px; } @@ -84,6 +81,9 @@ it('transforms assets with compiled and extraction babel plugins', async () => { ._u5f31vi7 { padding-right: 32px; } + ._19bv1vi7 { + padding-left: 32px; + } " `); }, 50000); diff --git a/packages/parcel-transformer/src/__tests__/transformer.parceltest.ts b/packages/parcel-transformer/src/__tests__/transformer.parceltest.ts index a9fb82695..d333ffb5d 100644 --- a/packages/parcel-transformer/src/__tests__/transformer.parceltest.ts +++ b/packages/parcel-transformer/src/__tests__/transformer.parceltest.ts @@ -225,18 +225,15 @@ it('transforms assets with compiled and extraction babel plugins', async () => { singleQuote: true, }) ).toMatchInlineSnapshot(` - "._1wyb12am { + "._19itlf8h { + border: 2px solid blue; + } + ._1wyb12am { font-size: 50px; } ._syaz13q2 { color: blue; } - ._19bv1vi7 { - padding-left: 32px; - } - ._19itlf8h { - border: 2px solid blue; - } ._19pk1ul9 { margin-top: 30px; } @@ -255,6 +252,9 @@ it('transforms assets with compiled and extraction babel plugins', async () => { ._u5f31vi7 { padding-right: 32px; } + ._19bv1vi7 { + padding-left: 32px; + } " `); @@ -273,7 +273,7 @@ it('transforms assets with compiled and extraction babel plugins', async () => { style: __cmpls, ref: __cmplr, className: (0, _runtime.ax)([ - "_syaz13q2 _1wyb1ul9 _19itlf8h _ca0q1vi7 _u5f31vi7 _n3td1vi7 _19bv1vi7", + "_19itlf8h _ca0q1vi7 _u5f31vi7 _n3td1vi7 _19bv1vi7 _syaz13q2 _1wyb1ul9", __cmplp.className ]) }));