Michał Pierzchała
cf20d5a098
Add fakeAsync test
2017-10-01 21:45:52 +02:00
Michał Pierzchała
472bcab034
v3.0.2
2017-09-21 17:05:38 +02:00
Michał Pierzchała
b5862a7279
Clarify AngularJS support
2017-09-21 11:00:14 +02:00
Zoltan Erdos
f3b0782675
More accurate moduleNameMapper regexps ( #71 )
2017-09-14 12:55:00 +02:00
Michał Pierzchała
8276d4e1da
Update CHANGELOG.md
2017-09-06 16:03:53 +02:00
Michał Pierzchała
2a281e2edb
v3.0.1
2017-09-06 16:01:53 +02:00
Michał Pierzchała
45eec5cee9
Bump jest and ts-jest to v21 ( #70 )
2017-09-06 16:00:53 +02:00
Michał Pierzchała
5081c0da1c
v3.0.0
2017-09-06 15:49:32 +02:00
Michał Pierzchała
0f6ed892f9
Tighten up module mappers; bump jest ( #53 )
...
In #6 we introduced very loose moduleNameMapper which resulted in couple of weird bugs and until next Jest release it's impossible to override it.
This PR reverts it and adds some reasonable defaults.
Also, because of this "(.*)"mapping, while debugging #41 on master version of Jest, I encountered an issue where one of the internal Jest modules was calling path matching the regexp, but couldn't find it under src dir. This surfaced only because Jest version on master supports checking if modules in moduleNameMapper exist and throws otherwise.
2017-09-06 15:48:08 +02:00
Sharikov Vladislav
4123477b6d
Add section to troubleshooting about JS files transpiling ( #68 )
2017-08-26 20:00:06 +02:00
James Morgan
0d13ce3c66
Fix typo ( #67 )
2017-08-25 08:09:33 +02:00
Zack Yang
f3970dce5a
Update jestGlobalMocks.ts ( #61 )
...
prevent warning message if import MaterialModule in the project
2017-07-31 07:50:56 +02:00
Tally Barak
aedb64efad
Update CHANGELOG.md with v2.0.5 ( #58 )
2017-07-09 11:52:30 +02:00
Michał Pierzchała
daf1575257
v2.0.5
2017-07-07 15:41:54 +02:00
Tally Barak
7e4165859c
Bump ts-jest and fix __TS_CONFIG__ deprecation fixes ( #57 )
2017-07-07 15:11:38 +02:00
Michał Pierzchała
4bf71e7e50
v2.0.4
2017-06-13 10:51:54 +02:00
markwhitfeld
db274d0b98
Pass transformOptions parameter to preprocessor ( #48 )
...
* Bump ts-jest to 20.0.6 and Jest to 20.0.4
2017-06-13 10:51:15 +02:00
Michał Pierzchała
17c5d54ba9
State clearly this preset is not for AngularJS
2017-06-11 23:56:41 +02:00
Michał Pierzchała
8f15050076
v2.0.3
2017-06-09 17:12:16 +02:00
carlcheel
4c0fe0907c
Enable Node 4 support by removing object destructuring ( #44 )
2017-06-09 17:05:28 +02:00
Michał Pierzchała
0aaa1a3d98
Make json gh highlighting happy
2017-05-15 22:26:59 +02:00
Michał Pierzchała
a38f2e4720
Add missing fix to changelog
2017-05-11 13:05:11 +02:00
Michał Pierzchała
90319b7ca0
v2.0.2
2017-05-11 13:02:27 +02:00
Michał Pierzchała
ec20340331
Update CHANGELOG.md
2017-05-11 13:02:27 +02:00
Michał Pierzchała
0e5be63dc7
Bump Jest to 20.0.1 ( #36 )
2017-05-11 12:59:01 +02:00
Michał Pierzchała
2c000c0329
Update README.md
2017-05-10 10:30:36 +02:00
Michał Pierzchała
ad27400e25
Escape template literals special chars ( #34 )
...
* Escape template literal special chars
* Update examples
2017-05-09 19:29:34 +02:00
Michał Pierzchała
1dd68456b3
Update snapshot output in README
2017-05-07 16:26:59 +02:00
Michał Pierzchała
b3e6ec4c89
Update angular to 4.1
2017-05-07 12:21:30 +02:00
Michał Pierzchała
2e077f4807
v2.0.1
2017-05-07 12:16:46 +02:00
Michał Pierzchała
81596b5953
Change testResultsProcessor to mapCoverage
2017-05-07 12:16:32 +02:00
Michał Pierzchała
d8e0c161f7
v2.0.0
2017-05-07 12:05:26 +02:00
Michał Pierzchała
1ae9d9bacd
Upgrade to Jest 20 ( #33 )
...
* Upgrade to Jest 20
* Update examples
2017-05-07 12:03:34 +02:00
Michał Pierzchała
d3b8a8f2bd
v1.2.1
2017-05-03 10:57:41 +02:00
Jamie Morris
c87651c4f0
Template preprocessor path fix ( #31 )
...
* Template preprocessor path fix
Fixed template preprocessor regex to retain "./" correctly. For instance, previously it would replace "./mytemplate.html" with "././mytemplate.html". Now it works as follows:
templateUrl: './component.html' => template: require('./component.html')
templateUrl: 'component2.html' => template: require('./component.html')
templateUrl: '../component2.html' => template: require('./../component.html')
templateUrl: '../../component2.html' => template: require('./../../component.html')
templateUrl: 'test/component2.html' => template: require('./test/component.html')
templateUrl: './test/component2.html' => template: require('./test/component.html')
* Updated test to check for template path
* Fixed missing require in preprocessor test
* Fixed styling issues
2017-05-03 10:55:13 +02:00
Michał Pierzchała
41390c09eb
Add 1.2 changelog
2017-04-29 02:03:13 +02:00
Michał Pierzchała
ad6e897b75
v1.2.0
2017-04-29 02:02:51 +02:00
Michał Pierzchała
108265a8df
Support absolute urls in templateUrl
2017-04-29 01:59:08 +02:00
Michał Pierzchała
066705f3cc
Add simple component with absolute template url
2017-04-29 01:52:36 +02:00
Michał Pierzchała
ace504daa0
v1.1.3
2017-04-27 18:04:26 +02:00
Michał Pierzchała
ab3adcf7a4
Remove ng-version from snapshots; prepare for Jest 20 bugfixes ( #27 )
2017-04-27 18:03:46 +02:00
Michał Pierzchała
a59b6c8258
Improve snapshot printing
2017-04-27 12:53:11 +02:00
Michał Pierzchała
ed426585a5
v1.1.1
2017-04-27 09:46:38 +02:00
Michał Pierzchała
cde1e006df
Remove unnecessary print
2017-04-27 09:46:22 +02:00
Michał Pierzchała
97b0b97633
Update readme on snapshot testing ( #25 )
2017-04-22 11:18:24 -07:00
Michał Pierzchała
288daa2e20
v1.1.0 changelog
2017-04-22 10:59:08 -07:00
Michał Pierzchała
938ddf152c
v1.1.0
2017-04-22 10:57:08 -07:00
Michał Pierzchała
8a8a25f565
Support snapshot testing ( #24 )
...
* Add angular-snapshot serializer
* Add HTMLElementPlugin until Jest 20 release
* Add jest as a peer dep
* Update examples with snapshots
2017-04-22 10:54:17 -07:00
Michał Pierzchała
c40981b217
v1.0.0
2017-04-13 10:30:29 +02:00
Michał Pierzchała
76bdfaca01
Add changelog for 1.0.0
2017-04-13 10:30:16 +02:00