Skip to content

Commit

Permalink
chore(core): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry authored and fahslaj committed Oct 12, 2023
1 parent a352e81 commit e07c492
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions e2e/release/src/release.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import {
updateJson,
} from '@nx/e2e/utils';
import { execSync } from 'child_process';
import { writeFileSync } from 'fs';
import { join } from 'path';

expect.addSnapshotSerializer({
serialize(str: string) {
Expand Down Expand Up @@ -589,7 +587,7 @@ describe('nx release', () => {
).length
).toEqual(3);

// It should resolve the current version from the registry once...
// It should resolve the current version from the git tag once...
expect(
versionOutput3.match(
new RegExp(
Expand Down Expand Up @@ -621,8 +619,8 @@ describe('nx release', () => {
).length
).toEqual(1);

writeFileSync(
join(tmpProjPath(), `${pkg1}/my-file.txt`),
createFile(
`${pkg1}/my-file.txt`,
'update for conventional-commits testing'
);

Expand Down Expand Up @@ -662,7 +660,7 @@ describe('nx release', () => {
).length
).toEqual(3);

// It should resolve the current version from the registry once...
// It should resolve the current version from the git tag once...
expect(
versionOutput4.match(
new RegExp(
Expand Down

0 comments on commit e07c492

Please sign in to comment.