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

docs(tests): Document Request Templates #569

Merged
merged 17 commits into from
Mar 8, 2024

Conversation

lukehesluke
Copy link
Contributor

@lukehesluke lukehesluke commented Sep 8, 2023

Closes #566

Also:

  • chore(tests): Rename U- request templates

The test/templates/README.md is already linked to from ..integration-tests/CONTRIBUTING.md in this PR: #565, so this should be visible to maintainers

@@ -2,8 +2,8 @@ const { FlowStage } = require('./flow-stage');
const { FlowStageUtils } = require('./flow-stage-utils');

/**
* @typedef {import('../../templates/u-req').UReqTemplateData} UReqTemplateData
* @typedef {import('../../templates/u-req').UReqTemplateRef} UReqTemplateRef
* @typedef {import('../../templates/cancel-order-req').CancelOrderReqTemplateData} CancelOrderReqTemplateData
Copy link
Contributor Author

@lukehesluke lukehesluke Sep 8, 2023

Choose a reason for hiding this comment

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

This U thing must refer to an earlier part of the spec or something? I've renamed these to be clearer to newer maintainers, using language that more or less mirrors the current spec.

All the changes in every file except README.md was just a set of simple VSCode refactors

@lukehesluke lukehesluke marked this pull request as ready for review September 8, 2023 15:21
/**
* @param {string} [orderProposalStatus]
*/
function createStandardRejectOrderProposalReq(orderProposalStatus = 'https://openactive.io/CustomerRejected') {
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this rename of the file, makes a lot more sense

@lukehesluke lukehesluke merged commit 9df7dc9 into master Mar 8, 2024
32 checks passed
@lukehesluke lukehesluke deleted the feature/request-template-docs branch March 8, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document Request Templates in Test Suite
2 participants