You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: browser.rs
    path of file: ./repos/farm/crates/plugin_resolve/tests
    
    the code of the file until where you have to start completion: use std::sync::Arc;

use farmfe_core::{
  config::{Config, OutputConfig, TargetEnv},
  context::CompilationContext,
  plugin::ResolveKind,
};
use farmfe_plugin_resolve::resolver::Resolver;
use farmfe_testing_helpers::fixture;

/// See browser field spec (https://github.com/defunctzombie/package-browser-field-spec)

#[test]
fn resolve_browser_basic() {
  fixture!(
    "tests/fixtures/resolve-node-modules/browser/index.ts",
    |file, _| {
      let cwd = file.parent().unwrap().to_path_buf();
      let resolver = Resolver::new();

      let resolved = resolver.resolve(
        "basic",
        cwd.clone(),
        &ResolveKind::Import,
        &Arc::new(CompilationContext::default()),
      );
      assert!(resolved.is_some());
      let resolved = resolved.unwrap();

      assert_
    
fn resolve_browser_entry_replace() {
  fixture!(
    "tests/fixtures/resolve-node-modules/browser/index.ts",
    |file, _| {
      let cwd = file.parent().unwrap().to_path_buf();
      let resolver = Resolver::new();

      let resolved = resolver.resolve(
        "entry-replace",
        cwd.clone(),
        &ResolveKind::Import,
        &Arc::new(CompilationContext::default()),
      );
      assert!(resolved.is_some());
      let resolved = resolved.unwrap();
      assert_eq!(
        resolved.resolved_path,
        cwd
          .join("node_modules")
          .join("entry-replace")
          .join("lib")
          .join("browser.js")
          .to_string_lossy()
          .to_string()
      );

      let resolved1 = resolver.resolve(
        "priority",
        cwd.clone(),
        &ResolveKind::Import,
        &Arc::new(CompilationContext::default()),
      );
      assert!(resolved1.is_some());
      let resolved1 = resolved1.unwrap();

      assert_eq!(
        resolved1.resolved_path,
        cwd
          .join("node_modules")
          .join("priority")
          .join("lib")
          .join("browser.js")
          .to_string_lossy()
          .to_string()
      );
    }
  );
}