Skip to content

Commit 799ba9c

Browse files
authored
Merge pull request #37 from mathjax/rewrite_tests
Rewrite tests
2 parents 89efab6 + afb57ea commit 799ba9c

File tree

105 files changed

+419
-391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+419
-391
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- "stable"
4+
sudo: false
5+
branches:
6+
install:
7+
- cd tests; npm install
8+
script: cd tests; ./tests.sh

tests.sh

Lines changed: 0 additions & 138 deletions
This file was deleted.

tests/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "MathJax-tex-tests",
3+
"version": "0.2.0",
4+
"description": "Test framework for MathJax v3 TeX parser.",
5+
"scripts": {
6+
"test": "./tests.sh"
7+
},
8+
"maintainers": [
9+
"Volker Sorge <[email protected]> (http://mathjax.org)"
10+
],
11+
"bugs": {
12+
"email": "[email protected]",
13+
"url": "https://github.com/MathJax/MathJax-dev/issues"
14+
},
15+
"license": "Apache-2.0",
16+
"dependencies": {
17+
"mathjax-full": "^3.1.2",
18+
"tape": "^5.0.1"
19+
}
20+
}

tests/parser-action-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {ParserTest} from './parser-tests.js';
2-
import '../mathjax3/js/input/tex/action/ActionConfiguration.js';
1+
import {ParserTest} from './parser-test.js';
2+
import './node_modules/mathjax-full/js/input/tex/action/ActionConfiguration.js';
33

44
class ParserActionTest extends ParserTest {
55

tests/parser-ams-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {ParserTest} from './parser-tests.js';
1+
import {ParserTest} from './parser-test.js';
22

33
class ParserAmsTest extends ParserTest {
44

0 commit comments

Comments
 (0)