Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add changelog for 2.1.0 release, add de-facto skynet plan #49

Merged
merged 3 commits into from
Apr 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# React Testing Library Changelog

## 2.1.0
- [#48](https://github.com/Workiva/react_testing_library/pull/48) Expose the `skipPointerEventsCheck` check

## 2.0.1
- Fix test ID queries using test IDs in RegExps without escaping them

Expand Down
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ RUN eval "$(ssh-agent -s)" && \
ssh-add /root/.ssh/id_rsa

WORKDIR /build/
ADD pubspec.yaml /build
RUN pub get
COPY pubspec.yaml .
RUN dart pub get
COPY /lib ./lib/
ARG BUILD_ARTIFACTS_AUDIT=/build/pubspec.lock
# Output the bundle to be verified in Skynet runs.
ARG BUILD_ARTIFACTS_RTL_JS_BUNDLE=/build/lib/js/react-testing-library.js
FROM scratch
15 changes: 15 additions & 0 deletions skynet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: validate_js_bundle
description: Verifies the JS bundle is checked in - this check is mainly in place so we have at least one Skynet config
image: drydock.workiva.net/workiva/skynet-images:node-test-image-latest
size: large
timeout: 900

requires:
Workiva/react_testing_library:
- rtl_js_bundle

scripts:
- mkdir build
- cp $SKYNET_APPLICATION_REACT_TESTING_LIBRARY_RTL_JS_BUNDLE ./build
- cd build
- test -e ./react-testing-library.js && { echo 'Verified js bundle exists.'; } || { echo 'JS bundle /lib/js/react-testing-library.js should exist.'; exit 1; }