Enable offline mode when building assets in tests