Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Fixed incorrect and duplicate layout tests #4740

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions src/core/services/layout/layout.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ describe('layout directives', function() {
var flexValues = [0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 33, 34, 66, 67];
var offsetValues = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 33, 34, 66, 67];
var alignmentValues = [
'center', 'center center', 'center start', 'center end',
'end', 'end-center', 'end start', 'end end',
'space-around', 'space-around center', 'space-around start', 'space-around end',
'space-between', 'space-between center', 'space-between start', 'space-between end',
'center center', 'start center', 'end center', 'space-between center', 'space-around center',
'center start', 'start start', 'end start', 'space-between start', 'space-around start',
'center end', 'start end', 'end end', 'space-between end', 'space-around end'
];
"center", "center center", "center start", "center end",
"end", "end center", "end start", "end end",
"space-around", "space-around center", "space-around start", "space-around end",
"space-between", "space-between center", "space-between start", "space-between end",
"start center", "start start", "start end"];
var mappings = [
{ attribute: 'flex', suffixes: suffixes, values: flexValues, addDirectiveAsClass: true, testStandAlone: true},
{ attribute: 'flex-order', suffixes: suffixes, values: flexOrderValues },
Expand Down