diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Changelog
 
+## 0.1.1
+
+- Fix test suite for mime-types 0.1.2.1
+
 ## 0.1.0
 
 - Initial release
diff --git a/test/Test.hs b/test/Test.hs
--- a/test/Test.hs
+++ b/test/Test.hs
@@ -5,6 +5,7 @@
 module Main (main) where
 
 import Codec.Compression.GZip qualified as GZip
+import Control.Monad (unless)
 import Data.ByteString qualified as BS
 import Test.Tasty
 import Test.Tasty.HUnit
@@ -29,6 +30,7 @@
                 xf = $(embedXStaticFile "./data/test.js")
             xfPath xf @?= "/test.js"
             xfETag xf @?= "724ba28f4a9a1b472057ff99511ed393a45552e1"
-            xfType xf @?= "application/javascript"
+            unless (xfType xf `elem` ["application/javascript", "text/javascript"]) $ do
+                error $ "Bad mime type: " <> show (xfType xf)
             xfContent xf @?= BS.toStrict (GZip.compress "true\n")
         ]
diff --git a/xstatic-th.cabal b/xstatic-th.cabal
--- a/xstatic-th.cabal
+++ b/xstatic-th.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           xstatic-th
-version:        0.1.0
+version:        0.1.1
 synopsis:       Automatic generation of XStaticFile
 description:    Automatic generation of XStaticFile.
 category:       JavaScript
