Git Product home page Git Product logo

Comments (5)

Canop avatar Canop commented on June 2, 2024 1

I wasn't asking you to close the issue, you can keep it open until everybody thinks it's OK.
For once, git shouldn't be a requirement to use bacon.

from bacon.

Canop avatar Canop commented on June 2, 2024

If your project sources are controlled with git, you shouldn't have any problem:
I don't know insta but the file it creates, being automatically generated from sources, should probably be ignored, and changes on gitignored files don't trigger bacon runs.

Are you using another source version control system than git ?

from bacon.

CosmicHorrorDev avatar CosmicHorrorDev commented on June 2, 2024

No, but the snapshots should not be ignored. The snapshot files are the source of truth for snapshot tests. You can essentially think of their contents as the expected value in an assert_eq!()

from bacon.

CosmicHorrorDev avatar CosmicHorrorDev commented on June 2, 2024

I guess I could setup git to ignore the pending snapshots, but I kind of rely on pending snapshots to show up in git status to notice that I forgot to review

I can't recall a project that uses insta and ignores pending snapshots, but I also don't make a habit of checking .gitignore files. It could be a workable solution I suppose

Edit: I'll go ahead and give it a try :)

I'll re-open if I end up running into any issues with the different workflow

from bacon.

GeeWee avatar GeeWee commented on June 2, 2024

I occasionally get this as well, even though my pending snapshot files are under .gitignore for some reason.

from bacon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.