1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Suppress getter-return errors in compatibility tests

This commit is contained in:
Bill Thornton 2020-02-26 01:23:28 -05:00
parent 23c3536ace
commit 75ac5ed8b2
2 changed files with 2 additions and 0 deletions

View file

@ -63,6 +63,7 @@ define([], function () {
var supportsCaptureOption = false;
try {
var opts = Object.defineProperty({}, 'capture', {
// eslint-disable-next-line getter-return
get: function () {
supportsCaptureOption = true;
}