Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('raises an error when overwrite some value', () => {
// $ExpectError - read-only
TextTrackType.TTML = '123';
// $ExpectError - exact type
TextTrackType.TTMLXXX = '123';
});
});
it("must has values", () => {
(TextTrackType.SRT: "application/x-subrip");
(TextTrackType.TTML: "application/ttml+xml");
(TextTrackType.VTT: "text/vtt");
});
});