chore(test): convert replace-library-includes-with-requires test to ES6.