Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/getting-started/6-prdeploy-portal.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ _NOTE: As necessary, you can fill in email aliases if **prdeploy** finds the inc

| Field | Value |
| -------- | ----------------------------------------------------------------------------------------------------------------------- |
| Host | The host name from the [4. Jira Integration](./4-jira-integration.md) step (myorg.atlassian.net). |
| Host | The host name from the [4. Jira Integration](./4-jira-integration.md) step (https://myorg.atlassian.net). |
| Username | The email address of the user you created the API token for in the [4. Jira Integration](./4-jira-integration.md) step. |
| Token | The **API token** you created under that user in the [4. Jira Integration](./4-jira-integration.md) step. |

Expand Down
2 changes: 1 addition & 1 deletion prdeploy-webhooks/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ LOG_LEVEL="debug"
USE_MOCKS="false" # Set to true for checks so integrated services are not used.
SLACK_EMAIL_DOMAIN="gmail.com"
SLACK_TOKEN="" # Get from GitHub PrDeploy App in Slack.
JIRA_HOST="myorg.atlassian.net"
JIRA_HOST="https://myorg.atlassian.net"
JIRA_USERNAME=""
JIRA_PASSWORD=""
10 changes: 6 additions & 4 deletions prdeploy-webhooks/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const jestConfig: JestConfigWithTsJest = {
testMatch: ['**/*.spec.ts'],
testTimeout: 15000,
transform: {
'^.+\\.ts$': 'ts-jest',
'ts-jest': [
'^.+\\.ts$': [
'ts-jest',
{
tsconfig: 'tsconfig.spec.json'
Expand All @@ -25,9 +24,12 @@ const jestConfig: JestConfigWithTsJest = {
},
verbose: true,
roots: ['<rootDir>/src', '<rootDir>/test'],
modulePaths: [compilerOptions.baseUrl], // <-- This will be set to 'baseUrl' value
modulePaths: [compilerOptions.baseUrl],
moduleDirectories: ['node_modules', '@src'],
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' }),
moduleNameMapper: {
...pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' }),
'^mime$': '<rootDir>/test/mocks/mime.ts'
},
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
globals: {}
};
Expand Down
Loading