Skip to content

Commit

Permalink
cleanup(testing): address pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Feb 22, 2024
1 parent bd1009a commit 76e5f50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/jest/src/utils/config/get-jest-projects.spec.ts
Expand Up @@ -147,7 +147,7 @@ describe('getJestProjects', () => {
expect(getJestProjects()).toEqual(expectedResults);
});

test('other projects and targets that do not use the nrwl jest test runner', () => {
test('other projects and targets that do not use the nx jest test runner', () => {
const mockedWorkspaceConfig: WorkspaceJsonConfiguration = {
projects: {
otherTarget: {
Expand Down Expand Up @@ -299,7 +299,7 @@ describe('getJestProjectsAsync', () => {
expect(await getJestProjectsAsync()).toEqual(expectedResults);
});

test('other projects and targets that do not use the nrwl jest test runner', async () => {
test('other projects and targets that do not use the nx jest test runner', async () => {
addProject('otherTarget', {
root: 'test',
targets: {
Expand Down
7 changes: 5 additions & 2 deletions packages/jest/src/utils/config/get-jest-projects.ts
@@ -1,5 +1,8 @@
import type { ProjectsConfigurations } from '@nx/devkit';
import { createProjectGraphAsync, type TargetConfiguration } from '@nx/devkit';
import {
createProjectGraphAsync,
type ProjectsConfigurations,
type TargetConfiguration,
} from '@nx/devkit';
import { readWorkspaceConfig } from 'nx/src/project-graph/file-utils';
import { join } from 'path';
import * as yargs from 'yargs-parser';
Expand Down

0 comments on commit 76e5f50

Please sign in to comment.