e0a4f9ba76
Precondition tests are shared for JS target. Samples do not use assertFailsWith as expression, as it's going to be converted as a special template.