Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Oct 19, 2023
1 parent 08ec1bc commit 843d4c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_vite_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

def test_vite_manifest(app, fake_manifest):
manifest = current_manifest._get_current_object()
assert str(manifest["blah"]) == (
'<script src="https://127.0.0.1:5123/entrypoints/blah.js"></script>'
'<link rel="stylesheet" href="https://127.0.0.1:5123/entrypoints/blah.css" />'
assert str(manifest["blah.js"]) == (
'<script type="module" src="https://127.0.0.1:5173/.vite/blah.js"></script>'
)

assert manifest["previewer_theme"]._paths == [
"assets/modulepreload-polyfill-3cfb730f.js",
"assets/lodash-e693fe4d.js",
Expand Down

0 comments on commit 843d4c1

Please sign in to comment.