Skip to content

Commit 11d6cf5

Browse files
committed
test: avoid unnecessary churn
1 parent 6cb2deb commit 11d6cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/testE2E/codecatalyst/client.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ describe('Test how this codebase uses the CodeCatalyst API', function () {
192192
assert.strictEqual(actualDevEnv.org.name, spaceName)
193193
assert.strictEqual(actualDevEnv.alias, differentDevEnvSettings.alias)
194194
assert.strictEqual(actualDevEnv.instanceType, 'dev.standard1.medium')
195-
assert.ok(actualDevEnv.persistentStorage && actualDevEnv.persistentStorage.sizeInGiB === 32)
195+
assert.strictEqual(actualDevEnv.persistentStorage.sizeInGiB, 32)
196196
})
197197

198198
it.skip('creates a Dev Environment using an existing branch', async function () {
@@ -535,7 +535,7 @@ describe('Test how this codebase uses the CodeCatalyst API', function () {
535535
)
536536
}
537537

538-
async function getAllDevEnvs(projectName: CodeCatalystProject['name']) {
538+
async function getAllDevEnvs(projectName: CodeCatalystProject['name']): Promise<DevEnvironment[]> {
539539
const currentDevEnvs = await client
540540
.listDevEnvironments({ name: projectName, org: { name: spaceName }, type: 'project' })
541541
.flatten()

0 commit comments

Comments
 (0)