Skip to content

Commit

Permalink
test: Migrated mysql and mysql2 versioned tests to node:test (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 authored Nov 8, 2024
1 parent 82f0e98 commit fc767e0
Show file tree
Hide file tree
Showing 29 changed files with 1,558 additions and 2,813 deletions.
702 changes: 702 additions & 0 deletions test/versioned/mysql/basic-pool.js

Large diffs are not rendered by default.

686 changes: 0 additions & 686 deletions test/versioned/mysql/basic-pool.tap.js

This file was deleted.

12 changes: 12 additions & 0 deletions test/versioned/mysql/basic-pool.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/

'use strict'

const basicPoolTests = require('./basic-pool')
const constants = require('./constants')
const { version: pkgVersion } = require('mysql/package')

basicPoolTests({ factory: () => require('mysql'), constants, pkgVersion })
403 changes: 403 additions & 0 deletions test/versioned/mysql/basic.js

Large diffs are not rendered by default.

Loading

0 comments on commit fc767e0

Please sign in to comment.