then()という名前の関数をexportしない
moduleからthen()という名前の関数をexportすると、 static importか
で挙動が異なる
Warning: Do not export a function called then() from a module. This will cause the module to behave differently when imported dynamically than when imported statically. そのため、then()という関数をexportしてるとVitestがhangする 最小のサンプル