Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a073c01

Browse files
[fix]UT
1 parent fc3bf02 commit a073c01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎test/openlayers/control/ScaleLineSpec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ describe('openlayers_ScaleLine', () => {
9999
scaleControl.updateElementRepair();
100100
} catch (error) {
101101
expect(error.message).toBe('Invalid units');
102+
} finally {
103+
map.removeControl(scaleControl);
102104
done();
103105
}
104106
}, 100);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /