// Run this with npx jest globals-jest-problem.test.js // This is because of https://github.com/facebook/jest/issues/2549 const assert = require('assert') test('assert', () => { try { assert.strictEqual(2, 3) } catch (err) { // This will fail expect(err instanceof Error, true) } })