Open Rav-Ariyanayagam opened 1 year ago
Gallery.test.js encounters an error: "Jest encountered an unexpected token"
Details:
/home/learner/workspace/gardenz/node_modules/lightgallery/css/lightgallery.css:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){@font-face {
^
SyntaxError: Invalid or unexpected token
8 |
9 | // import styles
> 10 | import 'lightgallery/css/lightgallery.css'
| ^
11 | import 'lightgallery/css/lg-zoom.css'
12 | import 'lightgallery/css/lg-thumbnail.css'
13 |
at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1728:14)
at Object.<anonymous> (client/views/user/Gardens/Gallery/Gallery.jsx:10:1)
Definition of Done
For every submission to the codebase, check that it meets the DoD below.