mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
17 lines
347 B
JavaScript
17 lines
347 B
JavaScript
import {
|
|
requester,
|
|
} from '../../../../helpers/api-integration/v3';
|
|
|
|
describe('GET /news', () => {
|
|
let api;
|
|
|
|
beforeEach(async () => {
|
|
api = requester();
|
|
});
|
|
|
|
it('returns the latest news in html format, does not require authentication', async () => {
|
|
const res = await api.get('/news');
|
|
expect(res).to.be.a.string;
|
|
});
|
|
});
|