Skip to content

Commit

Permalink
switch to @cspotcode/source-map-support
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed May 1, 2022
1 parent e9cc8a8 commit 432bfa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/jest-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@
"jest-util": "^28.0.2",
"jest-watcher": "^28.0.2",
"jest-worker": "^28.0.2",
"source-map-support": "0.5.13",
"@cspotcode/source-map-support": "0.8.0",
"throat": "^6.0.1"
},
"devDependencies": {
"@tsd/typescript": "~4.6.2",
"@types/exit": "^0.1.30",
"@types/graceful-fs": "^4.1.3",
"@types/source-map-support": "^0.5.0",
"jest-jasmine2": "^28.0.3",
"tsd-lite": "^0.5.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/jest-runner/src/runTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import chalk = require('chalk');
import * as fs from 'graceful-fs';
import sourcemapSupport = require('source-map-support');
import sourcemapSupport = require('@cspotcode/source-map-support');
import {
BufferedConsole,
CustomConsole,
Expand Down Expand Up @@ -234,8 +234,8 @@ async function runTestInternal(

// For tests
runtime
.requireInternalModule<typeof import('source-map-support')>(
require.resolve('source-map-support'),
.requireInternalModule<typeof import('@cspotcode/source-map-support')>(
require.resolve('@cspotcode/source-map-support'),
)
.install(sourcemapOptions);

Expand Down

0 comments on commit 432bfa1

Please sign in to comment.