Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
patternlibrary
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
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
js
patternlibrary
Commits
5b38400b
Commit
5b38400b
authored
Mar 23, 2018
by
Björn Bartels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PATLAB-7
update adapter tests
parent
c0df5d20
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test.20.adapter.js
test/test.20.adapter.js
+3
-3
No files found.
test/test.20.adapter.js
View file @
5b38400b
...
...
@@ -41,10 +41,10 @@ describe('Patternlibrary instanciation and configuration:', function() {
});
it
(
'throws an error if you try to pass something other than a function as an adapter'
,
function
()
{
var
s
=
new
Patternlibrary
.
Patternlibrary
();
var
p
=
new
Patternlibrary
.
Patternlibrary
();
expect
(
function
()
{
p
.
adapter
(
'
doc
s'
,
'kittens'
);
p
.
adapter
(
'
cat
s'
,
'kittens'
);
}).
to
.
throw
(
Error
);
});
});
...
...
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