refactor(aio): use dedicated constants.ts
file for e2e-specific constants
This commit is contained in:

committed by
Pete Bacon Darwin

parent
9e1b61326c
commit
11647e4c78
@ -0,0 +1,10 @@
|
||||
// Using the values below, we can fake the response of the corresponding methods in tests. This is
|
||||
// necessary, because the test upload-server will be running as a separate node process, so we will
|
||||
// not have direct access to the code (e.g. for mocking).
|
||||
// (See also 'lib/verify-setup/start-test-upload-server.ts'.)
|
||||
|
||||
// Special values to be used as `authHeader` in `BuildVerifier#verify()`.
|
||||
/* tslint:disable: variable-name */
|
||||
export const BV_verify_error = 'FAKE_VERIFICATION_ERROR';
|
||||
export const BV_verify_verifiedNotTrusted = 'FAKE_VERIFIED_NOT_TRUSTED';
|
||||
/* tslint:enable: variable-name */
|
Reference in New Issue
Block a user