- removed extra test datacite accounts from .env
All checks were successful
CI Pipeline / japa-tests (push) Successful in 57s
All checks were successful
CI Pipeline / japa-tests (push) Successful in 57s
- updated DoiClient.ts - removed test error via /welcome page - npm updates
This commit is contained in:
parent
c9ba7d6adc
commit
8cef7390d7
11 changed files with 186 additions and 229 deletions
|
@ -47,7 +47,10 @@ export const reporters: Required<Config>['reporters'] = [specReporter()];
|
|||
|
|
||||
*/
|
||||
export const runnerHooks: Pick<Required<Config>, 'setup' | 'teardown'> = {
|
||||
setup: [() => TestUtils.ace().loadCommands(), () => TestUtils.db().migrate()],
|
||||
setup: [
|
||||
() => TestUtils.ace().loadCommands(),
|
||||
() => TestUtils.db().migrate()
|
||||
],
|
||||
teardown: [],
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { test } from '@japa/runner';
|
||||
|
||||
test('display welcome page', async ({ client }) => {
|
||||
const response = await client.get('/');
|
||||
const response = await client.get('/welcome');
|
||||
|
||||
response.assertStatus(200);
|
||||
response.assertTextIncludes('<h1 class="title"> It Works! </h1>');
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue