Closed clemire closed 1 month ago
The pull request modifies the mediaWithEntitlements
test suite by replacing the createLegacySpace
function with createVersionedSpace
. The new function accepts spaceDapp
as its first argument while maintaining the same parameters for spaceName
and uri
. This change indicates an update in the space creation process.
Files | Change Summary |
---|---|
packages/sdk/src/mediaWithEntitlements.test.ts |
Replaced createLegacySpace with createVersionedSpace(spaceDapp, ...) for space creation. |
packages/sdk/src/mediaWithEntitlements.test.ts (1)
`186-187`: **LGTM!** The change from `createLegacySpace` to `createVersionedSpace` aligns with the PR objective of supporting versioned spaces in tests. The arguments are correctly passed.
One stray test was not migrated to branch on which space version to create depending on test suite, and is always making legacy spaces. This PR fixes that test to use the space determined by environment variables to E2E suites run locally and in CI can correctly exercise both legacy and v2 spaces.