Skip to content

Commit c9b1889

Browse files
committed
fix: new test urls
1 parent 3cf8646 commit c9b1889

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utilities/process-readme.test.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ describe('processReadme', () => {
3131
it('rewrite relative url', () => {
3232
const options = {
3333
source:
34-
'https://raw.githubusercontent.com/webpack/postcss-loader/master/README.md',
34+
'https://raw.githubusercontent.com/webpack/postcss-loader/main/README.md',
3535
};
3636
const loaderMDData =
3737
'See the file [`./src/config.d.ts`](./src/config.d.ts).';
3838
expect(processReadme(loaderMDData, options)).toEqual(
39-
'See the file [`https://github.com/webpack/postcss/blob/master/src/config.d.ts`](https://github.com/webpack/postcss-loader/blob/master/src/config.d.ts).'
39+
'See the file [`https://github.com/webpack/postcss/blob/main/src/config.d.ts`](https://github.com/webpack/postcss-loader/blob/main/src/config.d.ts).'
4040
);
4141
});
4242

4343
it('should preserve comments inside code blocks', () => {
4444
const options = {
4545
source:
46-
'https://raw.githubusercontent.com/webpack/postcss-loader/master/README.md',
46+
'https://raw.githubusercontent.com/webpack/postcss-loader/main/README.md',
4747
};
4848
const loaderMDData = `
4949
<!-- some comment that should be dropped -->

0 commit comments

Comments
 (0)