github-issue-tower-defence-management 1.189.1 → 1.189.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.189.2](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.189.1...v1.189.2) (2026-08-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **ConsoleTabList:** use neutral placeholder project names in fixtures ([#1820](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/1820)) ([99e1107](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/commit/99e1107316991f8a7cb1968a668c1a24d2a47121))
7
+
1
8
  ## [1.189.1](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.189.0...v1.189.1) (2026-08-28)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-issue-tower-defence-management",
3
- "version": "1.189.1",
3
+ "version": "1.189.2",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -3,7 +3,7 @@ import { type ComponentProps, useEffect, useRef, useState } from 'react';
3
3
  import type { ConsoleTabName } from '../../logic/types';
4
4
  import { ConsoleTabList } from './ConsoleTabList';
5
5
 
6
- const allPjcodes = ['utage3', 'cmg', 'xmile', 'xcare', 'umino'];
6
+ const allPjcodes = ['acme', 'beta', 'gamma', 'delta', 'epsilon'];
7
7
 
8
8
  const meta: Meta<typeof ConsoleTabList> = {
9
9
  title: 'Console/ConsoleTabList',
@@ -135,7 +135,7 @@ export const WithProjectSwitcherClosed: Story = {
135
135
  args: {
136
136
  activeTab: 'prs',
137
137
  counts,
138
- pjcode: 'umino',
138
+ pjcode: 'acme',
139
139
  pjcodes: allPjcodes,
140
140
  },
141
141
  };
@@ -159,7 +159,7 @@ export const WithProjectSwitcherOpen: Story = {
159
159
  args: {
160
160
  activeTab: 'prs',
161
161
  counts,
162
- pjcode: 'umino',
162
+ pjcode: 'acme',
163
163
  pjcodes: allPjcodes,
164
164
  },
165
165
  render: (args) => <DropdownOpen {...args} />,
@@ -14,7 +14,7 @@ const counts: Record<ConsoleTabName, number> = {
14
14
 
15
15
  const baseProps = {
16
16
  pjcode: 'acme',
17
- pjcodes: ['utage3', 'cmg', 'xmile', 'xcare', 'umino'],
17
+ pjcodes: ['acme', 'beta', 'gamma', 'delta', 'epsilon'],
18
18
  generatedAt: '2026-06-19T08:42:11.000Z',
19
19
  fromCache: false,
20
20
  tabHref: (tab: ConsoleTabName) => `/projects/acme/${tab}`,
@@ -195,11 +195,11 @@ describe('ConsoleTabList', () => {
195
195
  baseElement.querySelectorAll('.console-tab-pjname-option'),
196
196
  );
197
197
  expect(options.map((o) => o.textContent)).toEqual([
198
- 'utage3',
199
- 'cmg',
200
- 'xmile',
201
- 'xcare',
202
- 'umino',
198
+ 'acme',
199
+ 'beta',
200
+ 'gamma',
201
+ 'delta',
202
+ 'epsilon',
203
203
  ]);
204
204
  });
205
205
 
@@ -214,8 +214,8 @@ describe('ConsoleTabList', () => {
214
214
  />,
215
215
  );
216
216
  fireEvent.click(getByRole('button', { name: /acme/i }));
217
- fireEvent.click(getByText('xmile'));
218
- expect(onSelectProject).toHaveBeenCalledWith('xmile');
217
+ fireEvent.click(getByText('gamma'));
218
+ expect(onSelectProject).toHaveBeenCalledWith('gamma');
219
219
  });
220
220
 
221
221
  it('closes the dropdown after a project option is selected', () => {
@@ -226,7 +226,7 @@ describe('ConsoleTabList', () => {
226
226
  expect(
227
227
  baseElement.querySelector('.console-tab-pjname-dropdown'),
228
228
  ).toBeInTheDocument();
229
- fireEvent.click(getByText('xmile'));
229
+ fireEvent.click(getByText('gamma'));
230
230
  expect(
231
231
  baseElement.querySelector('.console-tab-pjname-dropdown'),
232
232
  ).toBeNull();