Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Fix failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonkearns committed Sep 17, 2018
1 parent ab0a72a commit 7c5b4b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.0.14] - 2018-09-17
## [0.0.15] - 2018-09-17

### Changed

Expand Down
9 changes: 6 additions & 3 deletions tests/TypeGeneratorTests.elm
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,19 @@ suite =
\() ->
TypeConstructor [ "Json", "Decode", "Value" ] []
|> toTsTypeNoAlias
|> expectOkValue "unknown"
|> expectOkValue "any"
, test "Json.Encode.Value" <|
\() ->
TypeConstructor [ "Json", "Encode", "Value" ] []
|> toTsTypeNoAlias
|> expectOkValue "unknown"
, test "aliased Encode.Value" <|
\() ->
TypeConstructor [ "Encode", "Value" ] []
|> toTsTypeNoAlias
toTsType
([ Aliases.alias stubContext [ "MyThing" ] (TypeConstructor [ "Json", "Encode", "Value" ] []) ]
|> Aliases.aliasesFromList
)
(TypeConstructor [ "MyThing" ] [])
|> Expect.equal (Ok "unknown")
]
, describe "alias lookup"
Expand Down

0 comments on commit 7c5b4b3

Please sign in to comment.