-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathEnginesSpec.js
More file actions
38 lines (26 loc) · 941 Bytes
/
EnginesSpec.js
File metadata and controls
38 lines (26 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership.
*
* Camunda licenses this file to you under the MIT; you may not use this file
* except in compliance with the MIT License.
*/
import {
getLatestStable,
ENGINES
} from '../Engines';
describe('util/Engines', function() {
describe('should provide latestStable', function() {
function verifyLatestStable(platform, expected) {
return function() {
// then
expect(getLatestStable(platform)).to.eql(expected);
};
}
it('Camunda Platform', verifyLatestStable(ENGINES.PLATFORM, '7.22.0'));
it('Fluxnova Platform', verifyLatestStable(ENGINES.FLUXNOVA, '2.0.0'));
it('Camunda Cloud', verifyLatestStable(ENGINES.CLOUD, '8.6.0'));
});
});