This file contains hidden or 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
<?php | |
// ... | |
/** | |
* Does the response contain all required attributes of a JSONApi Response Resource. | |
* | |
* @param array|null $resource | |
*/ | |
protected function assertJsonAPIIsValidResource(?array $resource = null) |
This file contains hidden or 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
import { mount } from '@vue/test-utils' | |
import { assert } from 'chai' | |
import Component from '../../../../src/components/TestComponent.vue' | |
describe('TestComponent.vue', () => { | |
it('renders', () => { | |
const wrapper = mount(Component) | |
assert.isTrue( | |
wrapper.is(true) |
OlderNewer