pulumi/sdk/nodejs/tests/runtime
Luke Hoban f7397bb798
[sdk/nodejs] Skip re-registrations of same package+version (#6387)
It is possible for the same version of the same provider SDK to be loaded multiple times in Node.js.  In this case, we might legitimately get mutliple registrations of the same resource.  It should not matter which we use, so we can just skip re-registering.  De-serialized resources will always be instances of classes from the first registered package.

Example layout this addresses.  Registrations of resources in `package3` at the same verrsion.

`node_modules`
  `@pulumi/pulumi`
  `package1`
    `node_modules`
      `package3`
  `package2`
    `node_modules`
      `package3`

Fixes #6258.
2021-02-20 10:06:32 +11:00
..
deploymentOnlyModule Reenable tests. (#2200) 2018-11-13 17:13:27 -08:00
langhost [sdk/nodejs] Update @grpc/grpc-js dependency (#6341) 2021-02-16 08:46:32 -08:00
asyncIterableUtil.spec.ts Replace equal and deepEqual with strictEqual and deepStrictEqual (#5607) 2020-10-21 10:21:47 -07:00
closureLoader.spec.ts Get closure serialiation working in Node11 (#2101) 2018-11-01 15:46:21 -07:00
jsClosureCases_8.js Serialized function parameter count. (#2748) 2019-05-20 22:19:22 -04:00
jsClosureCases_10_4.js Add support for serializing bigints (#2581) 2019-03-22 15:33:37 -07:00
props.spec.ts Use beforeEach in NodeJS tests. (#5975) 2020-12-18 16:27:27 -08:00
registrations.spec.ts [sdk/nodejs] Skip re-registrations of same package+version (#6387) 2021-02-20 10:06:32 +11:00
settings.spec.ts Always read and write nodejs runtime options from/to the environment (#6076) 2021-01-26 14:59:32 -08:00
tsClosureCases.ts Allow serializeFunction to capture secrets (#6013) 2020-12-31 09:37:25 +11:00