Skip to content

Commit 5c84160

Browse files
test: split android 36.1 runtime cases
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 1c80590 commit 5c84160

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ 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-
);
126122
};
127123

128124
it("runtime 6.0.0 should support android-17 - android-28", () => {
@@ -139,12 +135,19 @@ describe("androidToolsInfo", () => {
139135
);
140136
});
141137

142-
it("runtime 8.2.0 and 8.3.0 should support android-17 - android-36.1", () => {
138+
it("runtime 8.2.0 should support android-17 - android-36.1", () => {
143139
const expectedTargets = [
144140
...Array.from({ length: 20 }, (_, index) => `android-${17 + index}`),
145141
"android-36.1",
146142
];
147143
assertSupportedTargets("8.2.0", expectedTargets);
144+
});
145+
146+
it("runtime 8.3.0 should support android-17 - android-36.1", () => {
147+
const expectedTargets = [
148+
...Array.from({ length: 20 }, (_, index) => `android-${17 + index}`),
149+
"android-36.1",
150+
];
148151
assertSupportedTargets("8.3.0", expectedTargets);
149152
});
150153
});

0 commit comments

Comments
 (0)