Skip to content

Commit 95fcd31

Browse files
committed
sudo
1 parent 7256cc7 commit 95fcd31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

run/system-package/test/app.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const path = require('path');
1919
const supertest = require('supertest');
2020

2121
// Manually install system package in testing environment
22-
execSync('apt update && apt install graphviz -y')
22+
execSync('sudo apt install graphviz -y')
2323

2424
describe('Unit Tests', () => {
2525
const app = require(path.join(__dirname, '..', 'app'));

run/system-package/test/system.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const request = (method, route, base_url, id_token) => {
2929
};
3030

3131
// Manually install system package in testing environment
32-
execSync('apt update && apt install graphviz -y && which dot')
32+
execSync('sudo apt install graphviz -y && which dot')
3333

3434
describe('End-to-End Tests', () => {
3535
const {GOOGLE_CLOUD_PROJECT} = process.env;

0 commit comments

Comments
 (0)