angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js/lib/upload-server/index-test.ts

11 lines
464 B
TypeScript
Raw Normal View History

2017-03-05 09:42:04 -05:00
// Imports
import {GithubPullRequests} from '../common/github-pull-requests';
import {BUILD_VERIFICATION_STATUS, BuildVerifier} from './build-verifier';
2017-03-05 09:42:04 -05:00
// Run
// TODO(gkalpak): Add e2e tests to cover these interactions as well.
GithubPullRequests.prototype.addComment = () => Promise.resolve();
BuildVerifier.prototype.verify = () => Promise.resolve(BUILD_VERIFICATION_STATUS.verifiedAndTrusted);
2017-03-05 09:42:04 -05:00
// tslint:disable-next-line: no-var-requires
require('./index');