2024-10-19 10:13:06 +03:00
|
|
|
import { jest } from '@jest/globals';
|
2024-10-19 07:48:30 +03:00
|
|
|
import '@testing-library/jest-dom';
|
2024-10-19 10:13:06 +03:00
|
|
|
import mockedConfig from './bro.config.js'
|
|
|
|
|
|
|
|
jest.mock('@brojs/cli', () => {
|
|
|
|
return {
|
|
|
|
getNavigations() {
|
|
|
|
return mockedConfig.navigations
|
|
|
|
},
|
|
|
|
getNavigationsValue(key) {
|
|
|
|
return mockedConfig.navigations[key]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|