Skip to content

Commit 13efbdb

Browse files
committed
test(NODE-7183): convert to .ts
1 parent 74415b0 commit 13efbdb

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

test/integration/gridfs/gridfs_stream.test.js renamed to test/integration/gridfs/gridfs_stream.test.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
'use strict';
2-
3-
const { Double } = require('bson');
4-
const stream = require('stream');
5-
const fs = require('fs');
6-
const { expect } = require('chai');
7-
const { promisify } = require('node:util');
8-
const { once } = require('node:events');
9-
const { GridFSBucket, ObjectId, MongoAPIError } = require('../../mongodb');
10-
11-
describe('GridFS Stream', function () {
12-
let client;
13-
let db;
1+
import { once } from 'node:events';
2+
import * as fs from 'node:fs';
3+
import * as stream from 'node:stream';
4+
import { promisify } from 'node:util';
5+
6+
import { Double } from 'bson';
7+
import { expect } from 'chai';
8+
9+
import { type Db, GridFSBucket, MongoAPIError, type MongoClient, ObjectId } from '../../mongodb';
10+
11+
describe.only('GridFS Stream', function () {
12+
let client: MongoClient;
13+
let db: Db;
1414

1515
beforeEach(async function () {
1616
client = this.configuration.newClient();

0 commit comments

Comments
 (0)