Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiborza committed Aug 28, 2024
1 parent 3198d12 commit 6d7067b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions packages/solidstart/test/vite/sourceMaps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,14 @@ describe('makeSourceMapsVitePlugin()', () => {
makeSourceMapsVitePlugin({
org: 'my-org',
authToken: 'my-token',
sourcemaps: {
assets: ['foo/*.js'],
ignore: ['bar/*.js'],
filesToDeleteAfterUpload: ['baz/*.js'],
},
filesToDeleteAfterUpload: ['baz/*.js'],
});

expect(sentryVitePluginSpy).toHaveBeenCalledWith(
expect.objectContaining({
org: 'my-org',
authToken: 'my-token',
sourcemaps: {
assets: ['foo/*.js'],
ignore: ['bar/*.js'],
filesToDeleteAfterUpload: ['baz/*.js'],
},
}),
Expand All @@ -62,9 +56,6 @@ describe('makeSourceMapsVitePlugin()', () => {
makeSourceMapsVitePlugin({
org: 'my-org',
authToken: 'my-token',
sourcemaps: {
assets: ['foo/*.js'],
},
unstable_sentryVitePluginOptions: {
org: 'unstable-org',
sourcemaps: {
Expand Down

0 comments on commit 6d7067b

Please sign in to comment.