Files
jest/e2e/resolve-conditions/custom-env-conditions-method-override.js

17 lines
390 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
const NodeEnv = require('jest-environment-node').TestEnvironment;
module.exports = class CustomEnvWithConditions extends NodeEnv {
exportConditions() {
return ['deno'];
}
};