Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Fixing tests #2881

Merged
merged 3 commits into from
Apr 17, 2018
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
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ aliases:
name: Setup and build
command:
|
cp now-secrets.example.json now-secrets.json
yarn run build:web
yarn run build:api

Expand Down
2 changes: 1 addition & 1 deletion shared/stripe/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require('now-env');
const IS_PROD = process.env.NODE_ENV === 'production';
const IS_PROD = process.env.NODE_ENV === 'production' && !process.env.FORCE_DEV;
const STRIPE_TOKEN = IS_PROD
? process.env.STRIPE_TOKEN
: process.env.STRIPE_TOKEN_DEVELOPMENT;
Expand Down
2 changes: 1 addition & 1 deletion src/views/communitySettings/components/channelList.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ChannelList extends React.Component<Props> {
})
)
}
dataCy="create-channel-button"
data-cy="create-channel-button"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Buttons are passing through the props here, and we use dataCy to indicate that the prop is being passed to another element further down the tree. Does this change fix the text?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right dataCy is passed down, I will revert that with the next test fix commit.

>
Create Channel
</Button>
Expand Down