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