Skip to content

Commit

Permalink
chore: skipping several tests that hang intermittently (zenstackhq#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 authored Feb 13, 2024
1 parent 613ac8d commit ad18291
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/tests/cli/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import { createProgram } from '../../../../packages/schema/src/cli';
import { execSync } from '../../../../packages/schema/src/utils/exec-utils';
import { createNpmrc } from './share';

describe('CLI init command tests', () => {
// Skipping these tests as they seem to cause hangs intermittently when running with other tests
// eslint-disable-next-line jest/no-disabled-tests
describe.skip('CLI init command tests', () => {
let origDir: string;

beforeEach(() => {
Expand Down Expand Up @@ -39,9 +41,7 @@ describe('CLI init command tests', () => {
checkDependency('@zenstackhq/runtime', false, true);
});

// Disabled because it blows up memory on MAC, not sure why ...
// eslint-disable-next-line jest/no-disabled-tests
it.skip('init project t3 yarn std', async () => {
it('init project t3 yarn std', async () => {
execSync('npx --yes create-t3-app@latest --prisma --CI --noGit .', 'inherit', {
npm_config_user_agent: 'yarn',
npm_config_cache: getWorkspaceNpmCacheFolder(__dirname),
Expand Down
1 change: 1 addition & 0 deletions tests/integration/tests/frameworks/trpc/generation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('tRPC Routers Generation Tests', () => {
`${path.join(__dirname, '../../../../../.build/zenstackhq-sdk-' + ver + '.tgz')}`,
`${path.join(__dirname, '../../../../../.build/zenstackhq-runtime-' + ver + '.tgz')}`,
`${path.join(__dirname, '../../../../../.build/zenstackhq-trpc-' + ver + '.tgz')}`,
`${path.join(__dirname, '../../../../../.build/zenstackhq-server-' + ver + '.tgz')}`,
];
const deps = depPkgs.join(' ');

Expand Down

0 comments on commit ad18291

Please sign in to comment.