Skip to content

Commit 4673b66

Browse files
committed
Figured it out
1 parent c76cea4 commit 4673b66

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ module.exports = {
33
'^.+\\.tsx?$': 'ts-jest',
44
},
55
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node', 'd.ts'],
6+
transformIgnorePatterns: [
7+
'node_modules/(?!(laravel-echo)/)',
8+
],
69
};

js-tests/Connector.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import WS from "jest-websocket-mock";
2-
import {Connector} from "../dist/Connector";
2+
import {Connector} from "../js-src/Connector";
33

44
describe('Connector', () => {
55
let server;

0 commit comments

Comments
 (0)