add travis build

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 729f8e8453
commit 7c04836709
3 changed files with 41 additions and 27 deletions

View File

@@ -65,8 +65,12 @@ describe('record integration tests', () => {
before(async () => {
this.browser = await puppeteer.launch({
// headless: false,
executablePath: '/home/yanzhen/Desktop/chrome-linux/chrome',
defaultViewport: {
width: 1920,
height: 1080,
},
headless: false,
args: ['--no-sandbox'],
});
const bundle = await rollup.rollup({
@@ -192,5 +196,5 @@ describe('record integration tests', () => {
'select2',
);
assert(result.pass, result.pass ? '' : result.report());
}).timeout(5000);
}).timeout(10000);
});