diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..dc8bb6a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @DataDog/dd-trace-js @DataDog/libdatadog diff --git a/test/wasm/library_config/index.js b/test/wasm/library_config/index.js index 71aaac1..02c0343 100644 --- a/test/wasm/library_config/index.js +++ b/test/wasm/library_config/index.js @@ -40,6 +40,8 @@ function test_service_selector() { }); assert.strictEqual(values.length, 2) + // We can't rely on ordering, so sort it by name to make it deterministic + values.sort((a, b) => a.name.localeCompare(b.name)) assert.strictEqual(values[0].name, 'DD_RUNTIME_METRICS_ENABLED') assert.strictEqual(values[0].value, 'true') assert.strictEqual(values[0].source, 'local_stable_config')