Skip to content

Commit 379b90b

Browse files
committed
Published using @Stream44 Studio
Signed-off-by: Christoph <christoph@christoph.diy>
1 parent 3fff342 commit 379b90b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

caps/ProjectTest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ export async function capsule({
191191
type: CapsulePropertyTypes.Function,
192192
value: async function (this: any, actual: any, opts?: { strict?: boolean }): Promise<void> {
193193
const strict = opts?.strict === true
194-
const isUpdate = process.argv.includes('--update-snapshots') || process.argv.includes('-u')
194+
195+
const isUpdate = process.env.UPDATE_SNAPSHOTS === '1' || process.argv.includes('--update-snapshots') || process.argv.includes('-u')
195196
const expect = this.bunTest.expect
196197

197198
// Build the snapshot key from describe stack + current it name

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stream44.studio/t44",
3-
"version": "0.4.0-rc.25",
3+
"version": "0.4.0-rc.26",
44
"license": "LGPL",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)