forked from KhronosGroup/glTF-Blender-IO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Urs Hanselmann
committed
Sep 18, 2018
1 parent
f38ad82
commit 1296559
Showing
6 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
.idea/ | ||
addons/.idea/ | ||
addons/io_scene_gltf2/.idea/ | ||
mochawesome-report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
docker build -t gltf-io-test -f Dockerfile.tests tests | ||
|
||
# TODO: find a more elegant way to do this | ||
docker run -t gltf-io-test npm test | ||
ID=$(docker ps -l -q) | ||
docker cp $ID:/tests/mochawesome-report/ . | ||
docker rm $ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "gltftest", | ||
"version": "1.0.0", | ||
"description": "", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"mocha": "^5.2.0", | ||
"mochawesome": "^3.0.3" | ||
}, | ||
"scripts": { | ||
"test": "mocha --reporter mochawesome" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
var assert = require('assert'); | ||
describe('Array', function() { | ||
describe('#indexOf()', function() { | ||
it('should return -1 when the value is not present', function() { | ||
assert.equal([1,2,3].indexOf(4), -1); | ||
}); | ||
}); | ||
}); |