Skip to content

🎥 Make videos programmatically with React

Update go-package.test.ts

Jonny Burgere3aa8cc43cc1
diff --git a/packages/it-tests/src/monorepo/go-package.test.ts b/packages/it-tests/src/monorepo/go-package.test.ts
index 78e13009c9..282b880b6e 100644
--- a/packages/it-tests/src/monorepo/go-package.test.ts
+++ b/packages/it-tests/src/monorepo/go-package.test.ts
@@ -24,7 +24,7 @@ test('Set the right version for gotest', () => {
test(
'Go package should create the same payload as normal Lambda package',
async () => {
- const goOutput = execSync('go test', {
+ const goOutput = execSync('go test -mod=readonly', {
cwd: path.join(process.cwd(), '..', 'lambda-go'),
});
const firstLine = goOutput.toString().split('\n')[0];