We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b31d15 commit ba265a8Copy full SHA for ba265a8
1 file changed
test/bigtable/index.js
@@ -110,6 +110,24 @@ describe('Bigtable', function() {
110
fakeUtil.normalizeArguments = normalizeArguments;
111
});
112
113
+ it('should leave the original options unaltered', function() {
114
+ var fakeOptions = {
115
+ a: 'a',
116
+ b: 'b',
117
+ c: 'c',
118
+ zone: 'zone'
119
+ };
120
+
121
+ var bigtable = new Bigtable(fakeOptions);
122
+ var options = bigtable.calledWith_[1];
123
124
+ for (var option in fakeOptions) {
125
+ assert.strictEqual(fakeOptions[option], options[option]);
126
+ }
127
128
+ assert.notStrictEqual(fakeOptions, options);
129
+ });
130
131
it('should localize the cluster name', function() {
132
assert.strictEqual(bigtable.clusterName, CLUSTER_NAME);
133
0 commit comments