Use jest environment to load polyfill

We already do this internally so we don't need to explicitly require
a polyfill for Object.assign to work. It will be preloaded into the
environment.

cc @sebmarkbage