insta 0.12.0

A snapshot testing library for Rust
Documentation
1
2
3
4
5
6
use std::env;

/// Are we running in in a CI environment?
pub fn is_ci() -> bool {
    env::var("CI").is_ok() || env::var("TF_BUILD").is_ok()
}