Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Fix new tests for route-to-urls for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Aug 19, 2016
1 parent 7257f0d commit c84ab56
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/static/to-html/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import test from "ava"
import { join } from "path"

import beautifyHTML from "../../../_utils/beautify-html"

Expand All @@ -8,11 +9,11 @@ import store from "./fixtures/store.js"
import toHTML, { writeAllHTMLFiles } from "../index"

const expectedHTML = {
"destination/index.html":
[join("destination", "index.html")]:
require("./results/destination/index.html").default,
"destination/test-url/index.html":
[join("destination", "test-url", "index.html")]:
require("./results/destination/test-url/index.html").default,
"destination/test/index.html":
[join("destination", "test", "index.html")]:
require("./results/destination/test/index.html").default,
}

Expand Down

0 comments on commit c84ab56

Please sign in to comment.