Skip to content

Commit 1fa3f2e

Browse files
committed
Test: BitBakeProjectScanner retrieves a valid bitbake version
1 parent c04d6f0 commit 1fa3f2e

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

+5
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)