- Bug beim Übernehmen eines Termins in die Zeiterfassung, wenn man Stunden als Zeiteinheit ausgewählt hatte, behoben. - Berichte und Mitarbeiterstundenkonto eingebaut - Node-Module optimiert (sehr viele gelöscht)
17 lines
636 B
JavaScript
17 lines
636 B
JavaScript
const expect = require('unexpected');
|
|
const cldr = require('../lib/cldr');
|
|
|
|
describe('extractSubdivisionContainmentGroups', () => {
|
|
let subdivisionContainmentGroups;
|
|
before(() => {
|
|
subdivisionContainmentGroups = cldr.extractSubdivisionContainmentGroups();
|
|
});
|
|
|
|
it('contains the chain UG > ugn > ug334', () => {
|
|
expect(subdivisionContainmentGroups, 'to have properties', ['UG', 'ugn']);
|
|
expect(subdivisionContainmentGroups.UG.contains, 'to contain', 'ugn');
|
|
expect(subdivisionContainmentGroups.ugn.contains, 'to contain', 'ug334');
|
|
expect(subdivisionContainmentGroups.ugn.parent, 'to equal', 'UG');
|
|
});
|
|
});
|