mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-12 08:04:14 +02:00
@@ -1,4 +1,3 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "6"
|
||||
- "7"
|
||||
- "10"
|
||||
|
18725
package-lock.json
generated
18725
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -43,7 +43,7 @@
|
||||
"eslint-plugin-jest": "^21.1.0",
|
||||
"extract-text-webpack-plugin": "^3.0.0",
|
||||
"jest": "^22.0.4",
|
||||
"node-sass": "^4.5.3",
|
||||
"node-sass": "4.9.4",
|
||||
"npm-run-all": "^4.1.1",
|
||||
"postcss-loader": "^2.0.6",
|
||||
"pre-commit": "^1.2.2",
|
||||
@@ -80,7 +80,8 @@
|
||||
]
|
||||
},
|
||||
"jest": {
|
||||
"collectCoverage": true
|
||||
"collectCoverage": true,
|
||||
"testURL": "http://localhost/"
|
||||
},
|
||||
"pre-commit": [
|
||||
"lint"
|
||||
|
@@ -29,7 +29,7 @@ test('Navigation plugin', () => {
|
||||
expect(fakeCounter.tagName).toBe('SPAN');
|
||||
expect(fakeCounter.childNodes.length).toBe(1);
|
||||
expect(fakeCounter.childNodes[0].tagName).toBe('A');
|
||||
expect(fakeCounter.childNodes[0].href).toBe('about:blank#');
|
||||
expect(fakeCounter.childNodes[0].href).toBe('http://localhost/#');
|
||||
expect(fakeCounter.childNodes[0].title).toBe('View all slides');
|
||||
|
||||
new Navigation(webslides);
|
||||
|
Reference in New Issue
Block a user