mirror of
https://github.com/strapi/strapi.git
synced 2025-07-27 10:56:36 +00:00
24 lines
402 B
JavaScript
24 lines
402 B
JavaScript
const {auth} = require('./helpers/auth');
|
|
const rq = require('./helpers/request');
|
|
|
|
describe('Initialize', () => {
|
|
test(
|
|
'Avoid failure',
|
|
async () => {
|
|
expect(true).toBeTruthy();
|
|
}
|
|
);
|
|
|
|
test(
|
|
'Register admin user',
|
|
async () => {
|
|
await rq({
|
|
url: `/auth/local/register`,
|
|
method: 'POST',
|
|
body: auth,
|
|
json: true
|
|
});
|
|
}
|
|
);
|
|
});
|