Skip to content

Commit

Permalink
test(addons/MarkerClusterer): add export spec
Browse files Browse the repository at this point in the history
* Ref #610
  • Loading branch information
tomchentw committed Sep 14, 2017
1 parent a6f54b4 commit 5445411
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/components/addons/__tests__/MarkerClusterer.spec.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
describe("addons/MarkerClusterer module", () => {
const {
__esModule,
default: DefaultExport,
MarkerClusterer: NamedExport,
} = require("../MarkerClusterer")

it("should be an ES module", () => {
expect(__esModule).toBe(true)
})

it("should be default exported", () => {
expect(DefaultExport).toBeDefined()
})

it("should be named exported", () => {
expect(NamedExport).toBeDefined()
})
})

0 comments on commit 5445411

Please sign in to comment.