-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project dev supports dev test accounts
- Loading branch information
Adam Wang
committed
Feb 13, 2024
1 parent
396a417
commit 4adea5e
Showing
6 changed files
with
96 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const { | ||
HUBSPOT_ACCOUNT_TYPES, | ||
} = require('@hubspot/local-dev-lib/constants/config'); | ||
|
||
const DEV_TEST_ACCOUNT_STRING = 'dev test account'; | ||
|
||
const isDeveloperTestAccount = config => | ||
config.accountType && | ||
config.accountType === HUBSPOT_ACCOUNT_TYPES.DEVELOPER_TEST; | ||
|
||
module.exports = { | ||
DEV_TEST_ACCOUNT_STRING, | ||
isDeveloperTestAccount, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters