mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-10-31 17:01:00 +00:00
Add support for API 15-19 system images.
This commit is contained in:
1 parent
4a949058e2
commit
ede514c8c2
5 files changed
+8
-8
No files matched your search
@@ -17,14 +17,14 @@ describe('api-level validator tests', () => {
|
||||
|
||||
it('Throws if api-level is lower than min API supported', () => {
|
||||
const func = () => {
|
||||
validator.checkApiLevel('20');
|
||||
validator.checkApiLevel('14');
|
||||
};
|
||||
expect(func).toThrowError(`Minimum API level supported is ${validator.MIN_API_LEVEL}.`);
|
||||
});
|
||||
|
||||
it('Validates successfully with valid api-level', () => {
|
||||
const func1 = () => {
|
||||
validator.checkApiLevel('21');
|
||||
validator.checkApiLevel('15');
|
||||
};
|
||||
expect(func1).not.toThrow();
|
||||
|
||||
|
||||
Reference in new issue
Block a user