near / near-workspaces-js

Write tests once, run them both on NEAR TestNet and a controlled NEAR Sandbox local environment
https://near.github.io/near-workspaces-js/
GNU General Public License v3.0
42 stars 22 forks source link

KeyNotFound, Cannot read properties of undefined (reading \'tearDown\') sometimes #215

Closed fospring closed 9 months ago

fospring commented 10 months ago

related issue: https://github.com/near/near-sdk-js/pull/363

turbo run test
...
  type: 'KeyNotFound',
  context: undefined
...
examples:test:   fungible-token-lockable.ava › afterEach.always hook for Transfer failures
examples:test: 
examples:test:   Rejected promise returned by test. Reason:
examples:test: 
examples:test:   TypeError {
examples:test:     message: 'Cannot read properties of undefined (reading \'tearDown\')',
examples:test:   }
examples:test: 
examples:test:   › file://__tests__/test-fungible-token-lockable.ava.js:32:26