Skip to content

"TypeNotFoundException: Namespace is not defined for type org.example.biznet.User" on npm test #3

Open
@nyetwurk

Description

@nyetwurk

Pre-commit hook fails on npm test

> composer-file-storage-ways@0.0.1 test /home/nyet/src/hyperledger_composer_file_storage
> mocha --recursive

  #org.example.biznet
    ChangeAssetValue()
      1) should change the value property of SampleAsset to newValue

  0 passing (1s)
  1 failing

  1) #org.example.biznet ChangeAssetValue() should change the value property of SampleAsset to newValue:
     TypeNotFoundException: Namespace is not defined for type org.example.biznet.User
      at ModelManager.getType (node_modules/composer-common/lib/modelmanager.js:378:19)
      at Factory.newResource (node_modules/composer-common/lib/factory.js:103:45)
      at Context.it (test/logic.js:91:34)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions