Skip to content

Commit 6bbc3d9

Browse files
committed
Fix tests.
1 parent 43fe66c commit 6bbc3d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/remix/test/scripts/upload-sourcemaps.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ describe('createRelease', () => {
5757
it('should use given buildPath and urlPrefix over the defaults when given.', async () => {
5858
await createRelease(
5959
{
60-
urlPrefix: '~/build/subfolder',
61-
buildPath: 'public/build/subfolder',
60+
urlPrefix: '~/build/',
61+
buildPath: 'public/build',
6262
},
6363
'~/build/',
6464
'public/build',
@@ -67,8 +67,8 @@ describe('createRelease', () => {
6767
expect(proposeVersionMock).toHaveBeenCalled();
6868
expect(newMock).toHaveBeenCalledWith('0.1.2.3.4');
6969
expect(uploadSourceMapsMock).toHaveBeenCalledWith('0.1.2.3.4', {
70-
urlPrefix: '~/build/subfolder',
71-
include: ['public/build/subfolder'],
70+
urlPrefix: '~/build/',
71+
include: ['public/build'],
7272
useArtifactBundle: true,
7373
});
7474
expect(finalizeMock).toHaveBeenCalledWith('0.1.2.3.4');

0 commit comments

Comments
 (0)