mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
models
This commit is contained in:
parent
9690b0667b
commit
1bb3e4e9e6
@ -1,5 +1,6 @@
|
||||
// NOTE: We cannot use `fs` here to clean up the code. Cypress breaks on any npm
|
||||
// module that is not browser-compatible. Node's `fs` module is server-side only
|
||||
declare var Cypress: any | undefined
|
||||
export default {
|
||||
Image: typeof Cypress !== 'undefined' ? require('./Image.js') : require('./Image.js').default,
|
||||
Badge: typeof Cypress !== 'undefined' ? require('./Badge.js') : require('./Badge.js').default,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user