# typescript


06/18/2020, 12:36 AM
Can anyone recommend a good reference for learning about JS (ES6+) module scopes? I'd like something fairly thorough, but I do have an immediate case. Can I get different "versions" of Pulumi in every test file I import into? Pulumi stores its options in an unexported top-level variable that can't be reset.. but I need it clean for every suite of tests. So I want to scope my imports such that I get a different module/import/top-level variable each time I callĀ 
import * from "@pulumi/pulumi";