Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Feature/karma sourcemap fix #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

flut1
Copy link
Contributor

@flut1 flut1 commented Jul 25, 2016

Remove karma-source-map-support dependency, it is no longer needed. The karma-sourcemap-loader module will handle source maps for us.

Add the sourcemap preprocessor to the test files as well so the test file line numbers also match.

Instead of the devtool option in the webpack test config, use the SourceMapDevToolPlugin. This will also generate source maps on files with a .ts extension.

Fixes #15

Floris Bernard added 2 commits July 25, 2016 09:33
Don't use the newest awesome-typescript-loader for now as it
contains a breaking change. Set version 2.0.1 until the issue
is resolved.
Remove karma-source-map-support dependency, it is no longer needed.
The karma-sourcemap-loader module will handle source maps for us.

Add the sourcemap preprocessor to the test files as well so the
test file line numbers also match.

Instead of the devtool option in the webpack test config, use
the SourceMapDevToolPlugin. This will also generate source
maps on files with a .ts extension.

Fixes #15
@ThaNarie
Copy link
Member

LGTM, only the sourcemaps to the TS source on errors during tests are not pointing to the correct line number. Both for runtime errors as for assert errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants