Bump flatted from 3.3.3 to 3.4.1 #24
Annotations
10 errors and 1 warning
|
src/export/index.test.ts > Export Functions > exportToJSON > should merge multiple wp.elements collections correctly:
src/export/index.test.ts#L111
AssertionError: expected 16 to be '1rem' // Object.is equality
- Expected:
"1rem"
+ Received:
16
❯ src/export/index.test.ts:111:49
|
|
src/color/index.test.ts > getAllColorPresets > should sort by collection name then by color name:
src/color/index.test.ts#L778
AssertionError: expected [ { id: 'var1', name: 'Zebra', …(5) } ] to have a length of 2 but got 1
- Expected
+ Received
- 2
+ 1
❯ src/color/index.test.ts:778:20
|
|
src/color/index.test.ts > getAllColorPresets > should return color presets with collection info and resolved colors:
src/color/index.test.ts#L655
AssertionError: expected { id: 'var2', …(6) } to deeply equal { id: 'var2', …(6) }
- Expected
+ Received
@@ -1,8 +1,8 @@
{
"collectionName": "wp.settings.color",
- "color": "var(--wp--custom--color--secondary--accent)",
+ "color": "var(--wp--custom--color--secondary-accent)",
"id": "var2",
"isWordPressSettings": true,
"name": "Secondary Accent",
"resolvedColor": "#00ff00",
"slug": "secondary-accent",
❯ src/color/index.test.ts:655:27
|
|
src/color/index.test.ts > getColorPresets > should filter by selected color IDs:
src/color/index.test.ts#L449
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/color/index.test.ts:449:18
|
|
src/color/index.test.ts > getColorPresets > should get color presets with paint style labels:
src/color/index.test.ts#L389
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/color/index.test.ts:389:18
|
|
src/color/index.test.ts > getColorPresets > should filter colors by selectedColorIds when provided:
src/color/index.test.ts#L335
AssertionError: expected { name: 'Primary', …(2) } to deeply equal { name: 'Primary', …(2) }
- Expected
+ Received
{
- "color": "var(--wp--preset--color--primary)",
+ "color": "var(--wp--custom--color--primary)",
"name": "Primary",
"slug": "primary",
}
❯ src/color/index.test.ts:335:21
|
|
src/color/index.test.ts > getColorPresets > should exclude primitives collection but include other collections:
src/color/index.test.ts#L279
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/color/index.test.ts:279:18
|
|
src/color/index.test.ts > getColorPresets > should skip non-color variables:
src/color/index.test.ts#L172
AssertionError: expected { name: 'Primary', …(2) } to deeply equal { name: 'Primary', …(2) }
- Expected
+ Received
{
- "color": "var(--wp--preset--color--primary)",
+ "color": "var(--wp--custom--color--primary)",
"name": "Primary",
"slug": "primary",
}
❯ src/color/index.test.ts:172:21
|
|
src/color/index.test.ts > getColorPresets > should handle both variable aliases and direct color values:
src/color/index.test.ts#L126
AssertionError: expected { name: 'Alias', slug: 'alias', …(1) } to deeply equal { name: 'Alias', slug: 'alias', …(1) }
- Expected
+ Received
{
- "color": "var(--wp--preset--color--alias)",
+ "color": "var(--wp--custom--color--alias)",
"name": "Alias",
"slug": "alias",
}
❯ src/color/index.test.ts:126:21
|
|
src/color/index.test.ts > getColorPresets > should generate color presets from color variables:
src/color/index.test.ts#L71
AssertionError: expected { name: 'Primary 500', …(2) } to deeply equal { name: 'Primary 500', …(2) }
- Expected
+ Received
{
- "color": "var(--wp--preset--color--primary-500)",
+ "color": "var(--wp--custom--color--primary--500)",
"name": "Primary 500",
"slug": "primary-500",
}
❯ src/color/index.test.ts:71:21
|
|
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|