Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-implement testing API using tagged template literals #192

Open
Tracked by #193
ianwalter opened this issue Mar 29, 2020 · 0 comments
Open
Tracked by #193

Re-implement testing API using tagged template literals #192

ianwalter opened this issue Mar 29, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ianwalter
Copy link
Owner

ianwalter commented Mar 29, 2020

const { test, tag } = require('@ianwalter/bff')

test`

Submitting an order when an existing user is coming from a partner site and 
is using a coupon code linked to a different partner should still link the order 
to the original, referring partner

${tag`production`} ${lowerEnvironments}

${async t => {
  // Test logic goes here.
}}
`

test.skip`TODO: add test for submitting an order when product is white labeled`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant