Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/javascripts/lib/utils/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