Skip to content

Commit

Permalink
update to recursively replace screener tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilsurana committed Nov 10, 2022
1 parent 50edb97 commit aed0db1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/vr-tests-react-components/convertStoriesToStoryWright.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -x
sed -i "s/import.*Screener.*screener'/import { StoryWright, Steps } from 'storywright'/g" src/stories/*
sed -i "s/Screener.Steps/Steps/g" src/stories/*
sed -i "s/Screener/StoryWright/g" src/stories/*
find ./src/stories/ -type f | xargs sed -i "s/import.*Screener.*screener'/import { StoryWright, Steps } from 'storywright'/g"
find ./src/stories/ -type f | xargs sed -i "s/Screener.Steps/Steps/g"
find ./src/stories/ -type f | xargs sed -i "s/Screener/StoryWright/g"

0 comments on commit aed0db1

Please sign in to comment.