Skip to content

Commit

Permalink
tests: fix migration tests on Windows (#4326)
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed May 20, 2024
1 parent 4fe7b7f commit 79a789d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions modules/component-store/migrations/18_0_0-beta/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
InsertChange,
visitTSSourceFiles,
} from '../../schematics-core';
import * as os from 'os';
import { createRemoveChange } from '../../schematics-core/utility/change';

export function migrateTapResponseImport(): Rule {
Expand Down Expand Up @@ -108,7 +107,7 @@ export function migrateTapResponseImport(): Rule {
new InsertChange(
sourceFile.fileName,
componentStoreImportDeclaration.getEnd() + 1,
`${newOperatorsImport}${os.EOL}`
`${newOperatorsImport}\n`
)
);
}
Expand Down
3 changes: 1 addition & 2 deletions modules/effects/migrations/18_0_0-beta/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
InsertChange,
visitTSSourceFiles,
} from '../../schematics-core';
import * as os from 'os';
import { createRemoveChange } from '../../schematics-core/utility/change';

export function migrateConcatLatestFromImport(): Rule {
Expand Down Expand Up @@ -108,7 +107,7 @@ export function migrateConcatLatestFromImport(): Rule {
new InsertChange(
sourceFile.fileName,
effectsImportDeclaration.getEnd() + 1,
`${newOperatorsImport}${os.EOL}`
`${newOperatorsImport}\n`
)
);
}
Expand Down

0 comments on commit 79a789d

Please sign in to comment.