16 lines
365 B
JavaScript
16 lines
365 B
JavaScript
import flavor from './app-flavor';
|
|
|
|
const getFlavor = () => {
|
|
return flavor;
|
|
};
|
|
|
|
/*
|
|
* We have to do this like this, so we're able to stub the method `getFlavor`,
|
|
* otherwise we get a `ESModules can't be stubbed` error from cypress
|
|
*
|
|
* see: https://github.com/cypress-io/cypress/issues/22355#issuecomment-1485716724
|
|
*/
|
|
export const Flavor = {
|
|
getFlavor,
|
|
};
|