Skip to content

Commit

Permalink
dependency renamed content-type from application/javascript to text/j…
Browse files Browse the repository at this point in the history
…avascript
  • Loading branch information
sesi200 committed Dec 11, 2024
1 parent e6ff26b commit 496a7cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/tests-dfx/assetscanister.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ CHERRIES" "$stdout"
assert_command dfx canister call --query e2e_project_frontend get '(record{key="/logo.png";accept_encodings=vec{"identity"}})'
assert_match 'content_type = "image/png"'
assert_command dfx canister call --query e2e_project_frontend get '(record{key="/index.js";accept_encodings=vec{"identity"}})'
assert_match 'content_type = "application/javascript"'
assert_match 'content_type = "text/javascript"'
assert_command dfx canister call --query e2e_project_frontend get '(record{key="/sample-asset.txt";accept_encodings=vec{"identity"}})'
assert_match 'content_type = "text/plain"'
assert_command dfx canister call --query e2e_project_frontend get '(record{key="/main.css";accept_encodings=vec{"identity"}})'
Expand Down
4 changes: 2 additions & 2 deletions e2e/tests-icx-asset/icx-asset.bash
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ icx_asset_upload() {
icx_asset_list

assert_match "sample-asset.txt.*text/plain.*identity"
assert_match "notreally.js.*application/javascript.*gzip"
assert_match "notreally.js.*application/javascript.*identity"
assert_match "notreally.js.*text/javascript.*gzip"
assert_match "notreally.js.*text/javascript.*identity"
}

@test "creates new files" {
Expand Down

0 comments on commit 496a7cb

Please sign in to comment.