test(cli): mark problematic tests as sequential to stabilize CI

This commit is contained in:
mkorwel
2026-04-16 16:05:18 +00:00
parent 844bb44411
commit e71a05c30a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import { debugLogger } from '@google/gemini-cli-core';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
describe('AppRig', () => {
describe.sequential('AppRig', () => {
let rig: AppRig | undefined;
afterEach(async () => {
+2 -2
View File
@@ -10,7 +10,7 @@ import { Text } from 'ink';
import { renderHook, render } from './render.js';
import { waitFor } from './async.js';
describe('render', () => {
describe.sequential('render', () => {
it('should render a component', async () => {
const { lastFrame, unmount } = await render(<Text>Hello World</Text>);
expect(lastFrame()).toBe('Hello World\n');
@@ -42,7 +42,7 @@ describe('render', () => {
});
});
describe('renderHook', () => {
describe.sequential('renderHook', () => {
it('should rerender with previous props when called without arguments', async () => {
const useTestHook = ({ value }: { value: number }) => {
const [count, setCount] = useState(0);
+1 -1
View File
@@ -60,7 +60,7 @@ vi.mock('./components/Footer.js', async () => {
};
});
describe('App', () => {
describe.sequential('App', () => {
beforeEach(() => {
(useIsScreenReaderEnabled as Mock).mockReturnValue(false);
});