BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
7caab6c2
Commit
7caab6c2
authored
Dec 13, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken test in chrome
parent
383e6b55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
custom_event_polyfill_spec.js.es6
spec/javascripts/lib/utils/custom_event_polyfill_spec.js.es6
+3
-3
No files found.
spec/javascripts/lib/utils/custom_event_polyfill_spec.js.es6
View file @
7caab6c2
...
@@ -11,7 +11,7 @@ describe('Custom Event Polyfill', () => {
...
@@ -11,7 +11,7 @@ describe('Custom Event Polyfill', () => {
expect(e.type).toEqual('foo');
expect(e.type).toEqual('foo');
expect(e.bubbles).toBe(false);
expect(e.bubbles).toBe(false);
expect(e.cancelable).toBe(false);
expect(e.cancelable).toBe(false);
expect(e.detail).toBe
(undefined
);
expect(e.detail).toBe
Falsy(
);
});
});
it('should create a `CustomEvent` instance with a `details` object', () => {
it('should create a `CustomEvent` instance with a `details` object', () => {
...
@@ -29,7 +29,7 @@ describe('Custom Event Polyfill', () => {
...
@@ -29,7 +29,7 @@ describe('Custom Event Polyfill', () => {
expect(e.type).toEqual('bar');
expect(e.type).toEqual('bar');
expect(e.bubbles).toBe(true);
expect(e.bubbles).toBe(true);
expect(e.cancelable).toBe(false);
expect(e.cancelable).toBe(false);
expect(e.detail).toBe
(undefined
);
expect(e.detail).toBe
Falsy(
);
});
});
it('should create a `CustomEvent` instance with a `cancelable` boolean', () => {
it('should create a `CustomEvent` instance with a `cancelable` boolean', () => {
...
@@ -38,6 +38,6 @@ describe('Custom Event Polyfill', () => {
...
@@ -38,6 +38,6 @@ describe('Custom Event Polyfill', () => {
expect(e.type).toEqual('bar');
expect(e.type).toEqual('bar');
expect(e.bubbles).toBe(false);
expect(e.bubbles).toBe(false);
expect(e.cancelable).toBe(true);
expect(e.cancelable).toBe(true);
expect(e.detail).toBe
(undefined
);
expect(e.detail).toBe
Falsy(
);
});
});
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment