mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
refactor: use navAdmin
This commit is contained in:
@@ -8,9 +8,8 @@ const navAdmin = require('../src/navigation/admin');
|
|||||||
|
|
||||||
describe('Navigation', () => {
|
describe('Navigation', () => {
|
||||||
before(async () => {
|
before(async () => {
|
||||||
const navigation = require('../src/navigation/admin');
|
|
||||||
const data = require('../install/data/navigation.json');
|
const data = require('../install/data/navigation.json');
|
||||||
await navigation.save(data);
|
await navAdmin.save(data);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should toggle /world route when ap is toggled', async () => {
|
it('should toggle /world route when ap is toggled', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user