In the configuration jest.config.js the moduleFileExtensions field does not contain .vue extensions.
Because of this, when you run yarn test:unit:file path/to/component.vue Jest did not find the test file associated with the component. So same, under commit only .Vue component without changes associated with it the test file, Jest did not run the test
The problem: https://github.com/chrisvfritz/vue-enterprise-boilerplate/issues/179
In the configuration jest.config.js the moduleFileExtensions field does not contain .vue extensions. Because of this, when you run yarn
test:unit:file path/to/component.vue
Jest did not find the test file associated with the component. So same, under commit only .Vue component without changes associated with it the test file, Jest did not run the testThe solution: Add .vue extension to moduleFileExtensions