From 3f6830f917fee5639a15418541b6ec03ac444444 Mon Sep 17 00:00:00 2001 From: spalger Date: Thu, 2 Jul 2020 13:07:52 -0700 Subject: [PATCH] update snapshots --- packages/kbn-optimizer/src/common/theme_tags.test.ts | 1 + .../__snapshots__/basic_optimization.test.ts.snap | 1 + .../src/integration_tests/basic_optimization.test.ts | 2 +- packages/kbn-optimizer/src/optimizer/cache_keys.test.ts | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/kbn-optimizer/src/common/theme_tags.test.ts b/packages/kbn-optimizer/src/common/theme_tags.test.ts index cd3add0dfd200..019a9b7bdee3e 100644 --- a/packages/kbn-optimizer/src/common/theme_tags.test.ts +++ b/packages/kbn-optimizer/src/common/theme_tags.test.ts @@ -22,6 +22,7 @@ import { parseThemeTags } from './theme_tags'; it('returns default tags when passed undefined', () => { expect(parseThemeTags()).toMatchInlineSnapshot(` Array [ + "v7dark", "v7light", ] `); diff --git a/packages/kbn-optimizer/src/integration_tests/__snapshots__/basic_optimization.test.ts.snap b/packages/kbn-optimizer/src/integration_tests/__snapshots__/basic_optimization.test.ts.snap index b88318d65c154..211cfac3806ad 100644 --- a/packages/kbn-optimizer/src/integration_tests/__snapshots__/basic_optimization.test.ts.snap +++ b/packages/kbn-optimizer/src/integration_tests/__snapshots__/basic_optimization.test.ts.snap @@ -59,6 +59,7 @@ OptimizerConfig { "profileWebpack": false, "repoRoot": /packages/kbn-optimizer/src/__fixtures__/__tmp__/mock_repo, "themeTags": Array [ + "v7dark", "v7light", ], "watch": false, diff --git a/packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts b/packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts index a2eec2c0819ab..93a7240849b94 100644 --- a/packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts +++ b/packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts @@ -149,7 +149,7 @@ it('builds expected bundles, saves bundle counts to metadata', async () => { bar.cache.refresh(); expect(bar.cache.getModuleCount()).toBe( // code + styles + style/css-loader runtimes + public path updater - 14 + 18 ); expect(bar.cache.getReferencedFiles()).toMatchInlineSnapshot(` diff --git a/packages/kbn-optimizer/src/optimizer/cache_keys.test.ts b/packages/kbn-optimizer/src/optimizer/cache_keys.test.ts index 63b253b78f4d4..47d01347a8f7d 100644 --- a/packages/kbn-optimizer/src/optimizer/cache_keys.test.ts +++ b/packages/kbn-optimizer/src/optimizer/cache_keys.test.ts @@ -104,6 +104,7 @@ describe('getOptimizerCacheKey()', () => { "optimizerCacheKey": "♻", "repoRoot": , "themeTags": Array [ + "v7dark", "v7light", ], },