Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
8679d597
Commit
8679d597
authored
Nov 12, 2019
by
Hannah Stepanek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run upgraded prettier and fix styleing
parent
6a0d4cd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
new-note-btn-test.js
src/sidebar/components/test/new-note-btn-test.js
+4
-6
view-filter-test.js
src/sidebar/services/test/view-filter-test.js
+4
-1
No files found.
src/sidebar/components/test/new-note-btn-test.js
View file @
8679d597
...
@@ -33,12 +33,10 @@ describe('NewNoteButton', function() {
...
@@ -33,12 +33,10 @@ describe('NewNoteButton', function() {
};
};
fakeStore
=
{
fakeStore
=
{
createAnnotation
:
sinon
.
stub
(),
createAnnotation
:
sinon
.
stub
(),
frames
:
sinon
frames
:
sinon
.
stub
().
returns
([
.
stub
()
{
id
:
null
,
uri
:
'www.example.org'
},
.
returns
([
{
id
:
'1'
,
uri
:
'www.example.org'
},
{
id
:
null
,
uri
:
'www.example.org'
},
]),
{
id
:
'1'
,
uri
:
'www.example.org'
},
]),
};
};
NewNoteButton
.
$imports
.
$mock
(
mockImportedComponents
());
NewNoteButton
.
$imports
.
$mock
(
mockImportedComponents
());
...
...
src/sidebar/services/test/view-filter-test.js
View file @
8679d597
...
@@ -47,7 +47,10 @@ describe('sidebar/services/view-filter', () => {
...
@@ -47,7 +47,10 @@ describe('sidebar/services/view-filter', () => {
let
annotations
;
let
annotations
;
beforeEach
(()
=>
{
beforeEach
(()
=>
{
annotations
=
[{
id
:
1
,
text
:
poem
.
tiger
},
{
id
:
2
,
text
:
poem
.
raven
}];
annotations
=
[
{
id
:
1
,
text
:
poem
.
tiger
},
{
id
:
2
,
text
:
poem
.
raven
},
];
});
});
it
(
'requires all terms to match for "and" operator'
,
()
=>
{
it
(
'requires all terms to match for "and" operator'
,
()
=>
{
...
...
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