Skip to content

Commit

Permalink
[wip] Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannmoinet committed Dec 9, 2024
1 parent b1c4209 commit fceab29
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions packages/tests/src/plugins/rum/index.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the MIT License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

import { runBundlers } from '@dd/tests/_jest/helpers/runBundlers';
import type { CleanupFn } from '@dd/tests/_jest/helpers/types';

describe('RUM Plugin', () => {
const cleanups: CleanupFn[] = [];

afterAll(async () => {
await Promise.all(cleanups.map((cleanup) => cleanup()));
});

test.skip('Should get the clientToken.', async () => {
cleanups.push(
await runBundlers({
auth: {
apiKey: process.env.DD_API_KEY,
appKey: process.env.DD_APP_KEY,
},
rum: {
sdk: {
applicationId: '54caaabe-a702-4c07-89d8-8b7a064089aa',
},
},
}),
);
});
});

0 comments on commit fceab29

Please sign in to comment.