UNPKG

hexa-viewer-communicator

Version:

A simple API for <hexa-viewer>

1 lines 1.02 kB
(self.webpackChunk=self.webpackChunk||[]).push([[223],{252:(e,t,o)=>{var n=o(645);n.keys().forEach(n)},887:()=>{"use strict";var e;!function(e){e[e.NONE=0]="NONE",e[e.OPACITY=1]="OPACITY",e[e.BLUR=2]="BLUR"}(e||(e={})),describe("IConfigurationTransitionEffect Runtime Export",(()=>{it("should be defined as a runtime enum",(()=>{expect(e).toBeDefined()})),it("should have the expected enum values",(()=>{expect(e.NONE).toBe(0),expect(e.OPACITY).toBe(1),expect(e.BLUR).toBe(2)})),it("should be usable as a value",(()=>{const t=e.OPACITY;expect(t).toBe(1)})),it("should support reverse mapping (enum to string)",(()=>{expect(e[0]).toBe("NONE"),expect(e[1]).toBe("OPACITY"),expect(e[2]).toBe("BLUR")}))}))},645:(e,t,o)=>{var n={"./src/enum-export.spec.ts":887,"enum-export.spec.ts":887};function r(e){var t=s(e);return o(t)}function s(e){if(!o.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=s,e.exports=r,r.id=645}}]);