SERVER-139241ClosedDone
express_write_id_with_embedded_eq.js fails in multi_stmt_txn passthroughs
The upsert case added by SERVER-138035 expects {{DollarPrefixedFieldName}}. In the multi_stmt_txn passthroughs, that error aborts the wrapping transaction, which also rolls back the {{beforeEach}} insert. The shared {{afterEach}} then finds an empty collection: {{expected [ ] to equal [ [Object], [Object] ]}}. *Fix:* Move the upsert case into its own {{describe}} block, starting from an empty collection that is committed before the upsert runs. The other cases keep their transaction coverage.