Skip to content

Commit

Permalink
fix(Next > Video): Unit test passes by moving CSS from import to loca…
Browse files Browse the repository at this point in the history
…l file
  • Loading branch information
danactive committed Dec 26, 2021
1 parent b642660 commit 30d0eb9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/image-gallery.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/pages/_app.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { createGlobalStyle, ThemeProvider } from 'styled-components'
import '../image-gallery.css' /* cannot use import on SplitViewer as unit test fails */

const GlobalStyle = createGlobalStyle`
body {
Expand Down
1 change: 0 additions & 1 deletion app/src/components/SplitViewer/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import ImageGallery from 'react-image-gallery'
import 'react-image-gallery/styles/css/image-gallery.css'
import styled from 'styled-components'

import config from '../../../../config.json'
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/Video/index.stories.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import VideoPlayerHTML5 from '..'
import VideoPlayerHTML5 from '.'

export default {
title: 'VideoPlayerHTML5',
Expand Down

0 comments on commit 30d0eb9

Please sign in to comment.