Skip to content

Commit 1c80590

Browse files
test: assert final android sdk target
Agent-Logs-Url: https://github.com/NativeScript/nativescript-cli/sessions/88eeac91-da5e-44b8-9dcc-3560b73090e9 Co-authored-by: NathanWalker <457187+NathanWalker@users.noreply.github.com>
1 parent cb78629 commit 1c80590

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/doctor/test/android-tools-info.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ describe("androidToolsInfo", () => {
119119
const androidToolsInfo = getAndroidToolsInfo(runtimeVersion);
120120
const supportedTargets = androidToolsInfo.getSupportedTargets("test");
121121
assert.deepEqual(supportedTargets, expectedTargets);
122+
assert.equal(
123+
supportedTargets[supportedTargets.length - 1],
124+
expectedTargets[expectedTargets.length - 1],
125+
);
122126
};
123127

124128
it("runtime 6.0.0 should support android-17 - android-28", () => {

0 commit comments

Comments
 (0)