Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Update failing Typescript failure snapshot #382

Closed
wants to merge 1 commit into from

Conversation

quicksnap
Copy link
Collaborator

What:

Fixes broken TS Snapshot. **I only updated the snapshot, but did not inspect WHY it was broken or if the snapshot SHOULD be updated =) **

Why:

Build is broken

How:

Update snapshot

Checklist:

  • Documentation
  • Tests
  • [NO] Ready to be merged
  • Added myself to contributors table

We should validate to make sure this snapshot SHOULD be updated.

.. also snuck in a new file to the gitignore =)

@codecov-io
Copy link

Codecov Report

Merging #382 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #382   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          10     10           
  Lines         182    182           
  Branches       52     52           
=====================================
  Hits          182    182

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b843c27...ac2295c. Read the comment docs.

@@ -1,7 +1,10 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Typescript: Typescript expected failures 1`] = `
"test/should-fail.test.tsx(10,3): error TS2345: Argument of type '{ fillRule: \\"cat\\"; }' is not assignable to parameter of type 'StyleArgument<SVGProperties, {}>'.
"test/glamorous.test.tsx(537,43): error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes & CSSProperties & ExtraGlamorousProps & HTMLProps<HTMLDivElement> & { childre...'.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other snapshot updates are acceptable, but this one should not be included.
You should update glamorous.test.tsx instead of update snapshot.
However, #372 will solve this error without changing glamorous.test.tsx or snapshot.

@quicksnap
Copy link
Collaborator Author

Should we just close this? I really didn't put much effort into this.. I was just trying to get a passing build so I could open #383

@Ailrun
Copy link
Contributor

Ailrun commented Feb 12, 2018

@quicksnap It looks like that's the case. To merge #372, it will updates snapshots too.

@quicksnap quicksnap closed this Feb 12, 2018
@quicksnap quicksnap deleted the fix-build branch February 12, 2018 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants