Fixed tests.

This commit is contained in:
SamTV12345 2024-02-05 20:35:39 +01:00
parent b617ac4c58
commit 1f43bf599b
3 changed files with 5 additions and 6 deletions

View file

@ -1,10 +1,9 @@
'use strict';
// @ts-ignore
import measured from 'measured-core';
const measured = require('measured-core');
export default measured.createCollection();
module.exports = measured.createCollection();
export const shutdown = async (hookName: string, context:any) => {
module.exports.shutdown = async (hookName, context) => {
module.exports.end();
};
};