Skip to content

Commit

Permalink
fix windows path separators (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra authored Aug 25, 2022
1 parent 1d263e0 commit 9b31779
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions crates/next-dev/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use test_generator::test_resources;
use tokio::{net::TcpSocket, task::JoinHandle};
use tungstenite::{error::ProtocolError::ResetWithoutClosingHandshake, Error::Protocol};
use turbo_tasks::TurboTasks;
use turbo_tasks_fs::util::sys_to_unix;
use turbo_tasks_memory::MemoryBackend;

#[derive(Debug, Deserialize)]
Expand Down Expand Up @@ -123,12 +124,7 @@ async fn run_test(resource: &str) -> JestRunResult {
.project_dir("tests".into())
.entry_asset("harness.js".into())
.entry_asset(
test_entry
.strip_prefix("tests")
.unwrap()
.to_str()
.unwrap()
.to_string(),
sys_to_unix(test_entry.strip_prefix("tests").unwrap().to_str().unwrap()).to_string(),
)
.eager_compile(false)
.hostname(requested_addr.ip())
Expand Down

0 comments on commit 9b31779

Please sign in to comment.