diff --git a/client/src/__tests__/unit-tests/driver/scanner.test.ts b/client/src/__tests__/unit-tests/driver/scanner.test.ts index 3b8f9ae0..dde4f38b 100644 --- a/client/src/__tests__/unit-tests/driver/scanner.test.ts +++ b/client/src/__tests__/unit-tests/driver/scanner.test.ts @@ -73,6 +73,11 @@ describe('BitBakeProjectScanner', () => { jest.clearAllMocks() }, BITBAKE_TIMEOUT) + it('can get the bitbake version', async () => { + const version = bitBakeProjectScanner.scanResult._bitbakeVersion + expect(version).toMatch(/^[\d.]+$/); + }) + it('can get a list of layers', async () => { const layers = bitBakeProjectScanner.scanResult._layers // poky provides the "core", "yocto" and "yoctobsp" layers