UNPKG

react-hls-video-player

Version:

A simple and easy to use react component for playing an hls live stream

10 lines (9 loc) 265 B
module.exports = { preset: 'ts-jest', testEnvironment: 'jsdom', setupFilesAfterEnv: ['@testing-library/jest-dom'], moduleNameMapper: { '^hls.js$': '<rootDir>/test/mocks/hls.mock.ts', }, testMatch: ['<rootDir>/test/**/*.spec.tsx'], }