Skip to content

Commit

Permalink
ci: more exports tests (#294)
Browse files Browse the repository at this point in the history
* ci: integration test of published tarball

* ci: update exports test
  • Loading branch information
broofa authored Dec 1, 2023
1 parent d1dd94d commit 81252d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/exports_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ echo "... testing imports"
node --input-type=module - << EOF
import mime from "mime";
import mimelite from "mime/lite";
import standard from "mime/types/standard.js";
import other from "mime/types/other.js";
import pkg from "mime/package.json" assert {type: 'json'};
console.log('okay');
EOF
Expand Down

0 comments on commit 81252d6

Please sign in to comment.