You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/views/empty-state.spec.js
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@ describe('Component: pfEmptyState', function () {
2
2
var$scope;
3
3
var$compile;
4
4
varelement;
5
-
varperformedAction;
6
-
varupdateCount;
7
5
8
6
// load the controller's module
9
7
beforeEach(function(){
@@ -24,14 +22,20 @@ describe('Component: pfEmptyState', function () {
24
22
};
25
23
26
24
beforeEach(function(){
25
+
26
+
varperformEmptyStateAction=function(){
27
+
$scope.eventText='Empty State Action Executed';
28
+
};
29
+
27
30
$scope.config={
28
31
icon: 'pficon-add-circle-o',
29
32
title: 'Empty State Title',
30
33
info: "This is the Empty State component. The goal of a empty state pattern is to provide a good first impression that helps users to achieve their goals. It should be used when a view is empty because no objects exists and you want to guide the user to perform specific actions.",
0 commit comments