fix(supported-versions): nightly build matrix tag (#152)

This commit is contained in:
Damien Retzinger
2023-09-24 16:07:37 -04:00
committed by GitHub
parent 88901eacf7
commit 7f1821f6ac
10 changed files with 326 additions and 48 deletions
@@ -32,6 +32,12 @@ describe('getMatrixForKind for mage-os', () => {
expect(result.include).toBeDefined();
});
it('returns a matrix nightly`', () => {
const result = getMatrixForKind("nightly", project);
expect(result.magento).toBeDefined();
expect(result.include).toBeDefined();
});
it('returns a matrix for the next release when using `nightly`', () => {
const result = getMatrixForKind("nightly", project, "mage-os/project-community-edition:next");
@@ -48,6 +54,12 @@ describe('getMatrixForKind for mage-os', () => {
describe('getMatrixForKind for magento-open-source', () => {
const project = "magento-open-source";
it('returns a matrix nightly`', () => {
const result = getMatrixForKind("nightly", project);
expect(result.magento).toBeDefined();
expect(result.include).toBeDefined();
});
it('returns a matrix for `latest`', () => {
const result = getMatrixForKind("latest", project);