Skip to content

Commit

Permalink
Fix running only in driver adapter mode
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Nov 20, 2023
1 parent 8a29c67 commit cb5b8ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ pub(crate) fn should_run(

// We only run tests that include JS driver adapters when an external test executor is configured.
// A test that you only want to run with js driver adapters can be annotated with only(JS)
if running_driver_adapters && only.iter().any(|incl| incl.0.to_uppercase() == "JS") {
if !running_driver_adapters && only.iter().any(|incl| incl.0.to_uppercase() == "JS") {
println!("Excluded test execution for rust driver adapters. Skipping test");
return false;
}
Expand Down

0 comments on commit cb5b8ca

Please sign in to comment.