mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
18 lines
399 B
Rust
18 lines
399 B
Rust
#![deny(unused)]
|
|
|
|
use std::path::PathBuf;
|
|
use testing_macros::fixture;
|
|
|
|
#[fixture("tests/simple/*.ts")]
|
|
fn simple(_path: PathBuf) {}
|
|
|
|
#[fixture("tests/ignore/**/*.ts")]
|
|
fn ignored(_path: PathBuf) {}
|
|
|
|
#[fixture("tests/simple/**/*.ts")]
|
|
#[fixture("tests/simple/**/*.tsx")]
|
|
fn multiple(_path: PathBuf) {}
|
|
|
|
#[fixture("tests/simple/**/*", exclude(".*\\.tsx", ".*.d\\.ts"))]
|
|
fn exclude(_path: PathBuf) {}
|