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 23, 2024
1 parent 93f6dee commit 6c342a2
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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 6c342a2

Please sign in to comment.