Skip to content

Commit

Permalink
Build: Simplify tests by moving specific loader tests to interpret
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jan 4, 2019
1 parent 27a2fff commit 5ea8187
Show file tree
Hide file tree
Showing 31 changed files with 112 additions and 512 deletions.
18 changes: 0 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,3 @@ node_js:
- "6"
- "8"
- "10"
env:
global:
- REMOVE_DEPS=""
matrix:
- "CUSTOM_DEPS=coffee-script@~1.3"
- "CUSTOM_DEPS=coffee-script@~1.5"
- "CUSTOM_DEPS=coffee-script@~1.7"
- "CUSTOM_DEPS=coffee-script@latest"
- "CUSTOM_DEPS=iced-coffee-script@1.6.3-j"
- "CUSTOM_DEPS=iced-coffee-script@latest"
- "CUSTOM_DEPS=LiveScript@1.3.1 REMOVE_DEPS=livescript"
- "CUSTOM_DEPS=typescript-require REMOVE_DEPS=typescript-register REMOVE_DEPS=typescript-node"
- "CUSTOM_DEPS=typescript-register REMOVE_DEPS=typescript-require REMOVE_DEPS=typescript-node"
matrix:
fast_finish: true
before_script:
- "[ \"${REMOVE_DEPS}\" == \"\" ] || npm rm $REMOVE_DEPS"
- "npm install $CUSTOM_DEPS" # install a specific version of dependencies
54 changes: 4 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,59 +26,13 @@
"resolve": "^1.1.6"
},
"devDependencies": {
"babel": "^5.4.3",
"chai": "^2.3.0",
"coco": "^0.9.1",
"coffee-script": "^1.9.2",
"earlgrey": "0.0.9",
"iced-coffee-script": "^1.8.0-d",
"interpret": "^0.6.1",
"json5": "^0.4.0",
"livescript": "^1.4.0",
"mocha": "^2.2.5",
"node-jsx": "^0.13.3",
"require-csv": "0.0.1",
"require-ini": "0.0.1",
"require-uncached": "^1.0.2",
"require-xml": "0.0.1",
"require-yaml": "0.0.1",
"rimraf": "^2.3.4",
"semver": "^4.3.4",
"sinon": "^1.14.1",
"toml-require": "^1.0.1",
"ts-node": "^4.1.0",
"typescript": "^2.6.2"
"mocha": "^2.2.5"
},
"keywords": [
"require",
"cjsx",
"co",
"coco",
"coffee-script",
"coffee",
"coffee.md",
"csv",
"earlgrey",
"es",
"es6",
"iced",
"iced.md",
"iced-coffee-script",
"ini",
"js",
"json",
"json5",
"jsx",
"react",
"litcoffee",
"liticed",
"ls",
"livescript",
"toml",
"ts",
"typescript",
"xml",
"yaml",
"yml"
"loader",
"extension",
"extensions"
]
}
File renamed without changes.
5 changes: 0 additions & 5 deletions test/fixtures/folder.with.dots/test.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions test/fixtures/test.babel.js

This file was deleted.

9 changes: 0 additions & 9 deletions test/fixtures/test.co

This file was deleted.

6 changes: 0 additions & 6 deletions test/fixtures/test.coffee

This file was deleted.

10 changes: 0 additions & 10 deletions test/fixtures/test.coffee.md

This file was deleted.

2 changes: 0 additions & 2 deletions test/fixtures/test.csv

This file was deleted.

9 changes: 0 additions & 9 deletions test/fixtures/test.eg

This file was deleted.

6 changes: 0 additions & 6 deletions test/fixtures/test.iced

This file was deleted.

9 changes: 0 additions & 9 deletions test/fixtures/test.iced.md

This file was deleted.

3 changes: 0 additions & 3 deletions test/fixtures/test.ini

This file was deleted.

9 changes: 0 additions & 9 deletions test/fixtures/test.json

This file was deleted.

10 changes: 0 additions & 10 deletions test/fixtures/test.json5

This file was deleted.

17 changes: 0 additions & 17 deletions test/fixtures/test.jsx

This file was deleted.

8 changes: 0 additions & 8 deletions test/fixtures/test.litcoffee

This file was deleted.

8 changes: 0 additions & 8 deletions test/fixtures/test.liticed

This file was deleted.

6 changes: 0 additions & 6 deletions test/fixtures/test.ls

This file was deleted.

4 changes: 1 addition & 3 deletions test/fixtures/test.ts → test/fixtures/test.stub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var test = {
module.exports = {
data: {
trueKey: true,
falseKey: false,
Expand All @@ -7,5 +7,3 @@ var test = {
}
}
};

export = test;
6 changes: 0 additions & 6 deletions test/fixtures/test.toml

This file was deleted.

18 changes: 0 additions & 18 deletions test/fixtures/test.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions test/fixtures/test.xml

This file was deleted.

5 changes: 0 additions & 5 deletions test/fixtures/test.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions test/fixtures/tsconfig.json

This file was deleted.

58 changes: 0 additions & 58 deletions test/helpers.js

This file was deleted.

Loading

0 comments on commit 5ea8187

Please sign in to comment.