Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight misplaced #46

Closed
luanorlandi opened this issue Apr 6, 2021 · 2 comments
Closed

Highlight misplaced #46

luanorlandi opened this issue Apr 6, 2021 · 2 comments

Comments

@luanorlandi
Copy link

Hello! I've installed jest-watch-typeahead successfully, though with one minor issue, the highlight color is misplaced:

image

Any ideas what could it be?

I'm using Mac, Node v14.0.0, Npm v6.14.4, zsh 5.7.1, with these lib versions:

"jest": "^26.6.3",
"jest-watch-typeahead": "^0.6.2",

This is my jest.config.js file:

module.exports = {
  moduleFileExtensions: [
    'js',
    'json',
    'vue'
  ],
  moduleNameMapper: {
    '^(@|src)/(.*)$': '<rootDir>/src/$2',
    '^@fixtures/(.*)$': '<rootDir>/__fixtures__/$1'
  },
  transformIgnorePatterns: [
    '/node_modules/(?!vee-validate)/'
  ],
  transform: {
    '^.+\\.vue$': require.resolve('vue-jest'),
    '^.+\\.jsx?$': require.resolve('babel-jest'),
    '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/assetsTransformer.js'
  },
  setupFilesAfterEnv: ['<rootDir>/__tests__/setupFiles.js'],
  watchPlugins: [
    'jest-watch-typeahead/filename',
    'jest-watch-typeahead/testname'
  ]
}

The same occur with the Mac Terminal and VSCode embedded terminal, also the same thing with either zsh or bash

@jeysal
Copy link
Member

jeysal commented Apr 6, 2021

Could be due to #34 ? It did not change any existing tests but possibly test coverage was insufficient to detect this breakage

@luanorlandi
Copy link
Author

I tested with jest-watch-typeahead@0.6.3 new release, that fixed the issue:

image

Nicely done everyone, and thank you for the amazing work in this lib! 🚀 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants