Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed May 8, 2024
1 parent 9e2c0f9 commit 8bcefc5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/@uppy/dashboard/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Dashboard', () => {
core.use(DashboardPlugin, { inline: false })
}).not.toThrow()

core.close()
core.destroy()
})

it('works without any remote provider plugins', () => {
Expand All @@ -48,7 +48,7 @@ describe('Dashboard', () => {
})
}).not.toThrow()

core.close()
core.destroy()
})

it('works when targeting remote provider plugins using `target`', () => {
Expand All @@ -64,7 +64,7 @@ describe('Dashboard', () => {
})
}).not.toThrow()

core.close()
core.destroy()
})

it('works when passing plugins in `plugins` array', () => {
Expand All @@ -79,7 +79,7 @@ describe('Dashboard', () => {
})
}).not.toThrow()

core.close()
core.destroy()
})

it('should automatically add plugins which have no target', () => {
Expand All @@ -98,7 +98,7 @@ describe('Dashboard', () => {
true,
)

core.close()
core.destroy()
})

it('should not automatically add plugins which have a non-Dashboard target', () => {
Expand All @@ -118,7 +118,7 @@ describe('Dashboard', () => {
false,
)

core.close()
core.destroy()
})

it('should change options on the fly', () => {
Expand Down Expand Up @@ -168,6 +168,6 @@ describe('Dashboard', () => {
})
}).not.toThrow()

core.close()
core.destroy()
})
})

0 comments on commit 8bcefc5

Please sign in to comment.