summaryrefslogtreecommitdiff
path: root/school/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js')
-rw-r--r--school/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/school/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js b/school/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js
deleted file mode 100644
index 977b607..0000000
--- a/school/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-
-const enumerationValues = new Set(["subtitles", "captions", "descriptions", "chapters", "metadata"]);
-exports.enumerationValues = enumerationValues;
-
-exports.convert = function convert(value, { context = "The provided value" } = {}) {
- const string = `${value}`;
- if (!enumerationValues.has(string)) {
- throw new TypeError(`${context} '${string}' is not a valid enumeration value for TextTrackKind`);
- }
- return string;
-};