Skip to content

Commit

Permalink
test: fix alignment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed Dec 18, 2019
1 parent 84cb3d6 commit f8cc808
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Expand Up @@ -616,6 +616,11 @@ tester.addFixturePatternConfig('typescript/basics', {
'class-with-readonly-property',
'object-with-escaped-properties',
'type-reference-comments',
// babel doesn't allow computed enum members
'const-enum',
'export-declare-const-named-enum',
'export-declare-named-enum',
'export-named-enum',
],
ignoreSourceType: [
/**
Expand Down Expand Up @@ -759,6 +764,10 @@ tester.addFixturePatternConfig('typescript/types', {

tester.addFixturePatternConfig('typescript/declare', {
fileType: 'ts',
ignore: [
// babel doesn't allow computed enum members
'enum',
],
});

tester.addFixturePatternConfig('typescript/namespaces-and-modules', {
Expand Down
Expand Up @@ -37483,6 +37483,7 @@ Object {
},
"members": Array [
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -37537,6 +37538,7 @@ Object {
"type": "TSEnumMember",
},
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -43242,6 +43244,7 @@ Object {
},
"members": Array [
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -43296,6 +43299,7 @@ Object {
"type": "TSEnumMember",
},
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -43629,6 +43633,7 @@ Object {
},
"members": Array [
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -43683,6 +43688,7 @@ Object {
"type": "TSEnumMember",
},
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -45285,6 +45291,7 @@ Object {
},
"members": Array [
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -45339,6 +45346,7 @@ Object {
"type": "TSEnumMember",
},
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -45635,6 +45643,7 @@ Object {
},
"members": Array [
Object {
"computed": true,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -45671,6 +45680,7 @@ Object {
"type": "TSEnumMember",
},
Object {
"computed": true,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -107143,6 +107153,7 @@ Object {
},
"members": Array [
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down Expand Up @@ -107178,6 +107189,7 @@ Object {
"type": "TSEnumMember",
},
Object {
"computed": false,
"id": Object {
"loc": Object {
"end": Object {
Expand Down

0 comments on commit f8cc808

Please sign in to comment.