Skip to content

Commit

Permalink
chore: bump decentraland-ecs
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala committed May 14, 2019
1 parent 6c40870 commit 1310dd5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
"@zeit/ncc": "^0.13.0",
"ava": "^1.2.1",
"dcl-tslint-config-standard": "^1.1.0",
"decentraland-ecs": "^6.0.2-20190508203545.commit-c108e83",
"decentraland-ecs": "^6.0.4",
"husky": "^1.3.1",
"lint-staged": "^8.1.1",
"prettier": "^1.16.2",
"ts-node": "^8.0.2",
"tslint": "^5.12.1"
},
"peerDependencies": {
"decentraland-ecs": "^6.0.2"
"decentraland-ecs": "^6.0.4"
},
"dependencies": {}
}
11 changes: 3 additions & 8 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@ import {
sphereAndBoxSample,
parentSample,
reuseComponentSample,
multipleComponentsSample
multipleComponentsSample,
ntfShape
} from './samples'

declare module 'decentraland-ecs' {
export class NFTShape {
constructor(path: string)
}
}

function sanitize(sample) {
return sample.trim()
}
Expand Down Expand Up @@ -57,7 +52,7 @@ test('Should output code for an entity with NFTShape', t => {
sceneWriter.addEntity('kitty', kitty)
const code = sceneWriter.emitCode()

t.is(code, sanitize(gltfSample))
t.is(code, sanitize(ntfShape))
})

test('Should output code for two entities with SphereShape and BoxShape', t => {
Expand Down

0 comments on commit 1310dd5

Please sign in to comment.