BenMusch/nu-tab

View on GitHub
client/app/__tests__/resources/Resource.test.js

Summary

Maintainability
A
0 mins
Test Coverage

Showing 0 of 8 total issues

'test' is not defined.
Wontfix

test('pathTo should generate the RESTful routes', () => {

'expect' is not defined.
Invalid

expect(resource.pathTo().update).toEqual('/resources/2')

'expect' is not defined.
Invalid

expect(resource.pathTo().index).toEqual('/resources')

'expect' is not defined.
Invalid

expect(resource.pathTo().show).toEqual('/resources/2')

'expect' is not defined.
Invalid

expect(resource.pathTo().new).toEqual('/resources/new')

'expect' is not defined.
Invalid

expect(resource.pathTo().create).toEqual('/resources')

'expect' is not defined.
Invalid

expect(resource.pathTo().edit).toEqual('/resources/2/edit')

'expect' is not defined.
Invalid

expect(resource.pathTo().destroy).toEqual('/resources/2')

There are no issues that match your filters.

Category
Status