test: update shell tests (#10749)

This commit is contained in:
Alex Rudenko 2023-08-18 10:28:19 +02:00 committed by GitHub
parent 8424ecf4c4
commit 05c120035e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,9 @@ describe('chrome-headless-shell', () => {
);
});
// TODO: once no new releases happen for the milestone, we can use the exact match.
it('should resolve milestones', async () => {
assert.strictEqual(await resolveBuildId('118'), '118.0.5950.0');
assert((await resolveBuildId('118'))?.startsWith('118.0'));
});
it('should resolve build prefix', async () => {