Skip to content

Commit e48a6c4

Browse files
committed
Test: BitBakeProjectScanner retrieves a valid bitbake version
1 parent 50f3c5f commit e48a6c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client/src/__tests__/unit-tests/driver/scanner.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ describe('BitBakeProjectScanner', () => {
7373
jest.clearAllMocks()
7474
}, BITBAKE_TIMEOUT)
7575

76+
it('can get the bitbake version', async () => {
77+
const version = bitBakeProjectScanner.scanResult._bitbakeVersion
78+
expect(version).toMatch(/^[\d.]+$/);
79+
})
80+
7681
it('can get a list of layers', async () => {
7782
const layers = bitBakeProjectScanner.scanResult._layers
7883
// poky provides the "core", "yocto" and "yoctobsp" layers

0 commit comments

Comments
 (0)