ask-cli
Version:
Alexa Skills Kit (ASK) Command Line Interfaces
117 lines (114 loc) • 5.22 kB
JavaScript
require('module-alias/register');
/**
* This list manages all the files we want to cover during the refactor.
* Please also include the test-ready module in package.json's "nyc.include" list.
* Make sure test coverage meets the bar.
*/
[
// UNIT TEST
// builtins
'/unit/builtins/lambda-deployer/index-test.js',
'/unit/builtins/lambda-deployer/helper-test.js',
// commands
'/unit/commands/option-validator-test',
'/unit/commands/abstract-command-test',
// command - util
'/unit/commands/util/git-credentials-helper/index-test',
'/unit/commands/util/generate-lwa-tokens/index-test',
// command - new
'/unit/commands/new/index-test',
'/unit/commands/new/ui-test',
'/unit/commands/new/helper-test',
'/unit/commands/new/wizard-helper-test',
'/unit/commands/new/hosted-skill-helper-test',
// command - configure
'/unit/commands/configure/index-test',
'/unit/commands/configure/ui-test',
'/unit/commands/configure/helper-test',
'/unit/commands/configure/questions-test',
'/unit/commands/configure/ask-profile-setup-helper-test',
'/unit/commands/configure/aws-profile-setup-helper-test',
// command - init
'/unit/commands/init/index-test',
'/unit/commands/init/ui-test',
'/unit/commands/init/helper-test',
// command - dialog
'/unit/commands/dialog/index-test',
'/unit/commands/dialog/helper-test',
'/unit/commands/dialog/replay-mode-test',
'/unit/commands/dialog/interactive-mode-test',
// command - deploy
'/unit/commands/deploy/index-test',
'/unit/commands/deploy/helper-test',
// command - smapi
'/unit/commands/smapi/cli-customization-processor-test.js',
'/unit/commands/smapi/smapi-command-handler-test.js',
'/unit/commands/smapi/smapi-commander-test.js',
'/unit/commands/smapi/smapi-docs-test.js',
'/unit/commands/smapi/before-send-processor-test.js',
// command - smapi - export-package
'/unit/commands/smapi/appended-commands/export-package/index-test.js',
'/unit/commands/smapi/appended-commands/export-package/helper-test.js',
// command - smapi - get-task
'/unit/commands/smapi/appended-commands/get-task/index-test.js',
// command - smapi - search-task
'/unit/commands/smapi/appended-commands/search-task/index-test.js',
// command - util
'/unit/commands/util/upgrade-project/index-test',
'/unit/commands/util/upgrade-project/ui-test',
'/unit/commands/util/upgrade-project/helper-test',
'/unit/commands/util/upgrade-project/hosted-skill-helper-test',
// clients
'/unit/clients/http-client-test',
'/unit/clients/metric-client-test',
'/unit/clients/smapi-client-test',
'/unit/clients/git-client-test',
'/unit/clients/lwa-auth-code-client-test',
'/unit/clients/aws-client/abstract-aws-client-test',
'/unit/clients/aws-client/s3-client-test',
'/unit/clients/aws-client/cloudformation-client-test',
'/unit/clients/aws-client/aws-util-test',
'/unit/clients/aws-client/iam-client-test',
'/unit/clients/aws-client/lambda-client-test',
// model
'/unit/model/abstract-config-file-test',
'/unit/model/app-config-test',
'/unit/model/metric-config-test',
'/unit/model/manifest-test',
'/unit/model/resources-config/resources-config-test',
'/unit/model/resources-config/ask-resources-test',
'/unit/model/resources-config/ask-states-test',
'/unit/model/yaml-parser-test',
'/unit/model/regional-stack-file-test',
'/unit/model/dialog-replay-file-test',
// controller
'/unit/controller/authorization-controller/index-test',
'/unit/controller/dialog-controller/index-test',
'/unit/controller/dialog-controller/simulation-response-parser-test',
'/unit/controller/skill-metadata-controller-test',
'/unit/controller/skill-code-controller-test',
'/unit/controller/skill-simulation-controller-test',
'/unit/controller/code-builder-test',
'/unit/controller/skill-infrastructure-controller-test',
'/unit/controller/deploy-delegate-test',
'/unit/controller/hosted-skill-controller/index-test',
'/unit/controller/hosted-skill-controller/clone-flow-test',
// view
'/unit/view/messenger-test',
'/unit/view/json-view-test',
'/unit/view/spinner-view-test',
'/unit/view/multi-tasks-view-test',
'/unit/view/cli-repl-view-test',
'/unit/view/dialog-repl-view-test',
// utils
'/unit/utils/url-utils-test',
'/unit/utils/string-utils-test',
'/unit/utils/zip-utils-test',
'/unit/utils/hash-utils-test',
'/unit/utils/retry-utility-test',
'/unit/utils/provider-chain-utils-test',
'/unit/utils/local-host-server-test',
].forEach((testFile) => {
// eslint-disable-next-line global-require
require(testFile);
});