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 ts-expect-error to skipped tests to avoid error with check-types #768

Merged
merged 1 commit into from
Sep 4, 2024
Merged
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
9 changes: 9 additions & 0 deletions src/react/actions/__tests__/s3object.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ describe.skip('s3object actions', () => {
const asyncTests = [
{
it: 'createFolder: should return expected actions -> test without prefix parameter',
//@ts-expect-error fix this when you are working on it
fn: actions.createFolder(BUCKET_NAME, '', FOLDER_NAME),
storeState: initState,
expectedActions: [
Expand All @@ -170,6 +171,8 @@ describe.skip('s3object actions', () => {
},
{
it: 'createFolder: should return expected actions -> test with prefix parameter',
//@ts-expect-error fix this when you are working on it

fn: actions.createFolder(BUCKET_NAME, PREFIX, FOLDER_NAME),
storeState: initState,
expectedActions: [
Expand All @@ -189,6 +192,8 @@ describe.skip('s3object actions', () => {
},
{
it: 'createFolder: should handle error -> test without prefix parameter',
//@ts-expect-error fix this when you are working on it

fn: actions.createFolder(BUCKET_NAME, '', FOLDER_NAME),
storeState: errorZenkoState(),
expectedActions: [
Expand All @@ -200,6 +205,8 @@ describe.skip('s3object actions', () => {
},
{
it: 'createFolder: should handle error -> test with prefix parameter',
//@ts-expect-error fix this when you are working on it

fn: actions.createFolder(BUCKET_NAME, PREFIX, FOLDER_NAME),
storeState: errorZenkoState(),
expectedActions: [
Expand All @@ -211,6 +218,7 @@ describe.skip('s3object actions', () => {
},
{
it: 'uploadFiles: should return expected actions -> test without prefix parameter',
//@ts-expect-error fix this when you are working on it
fn: actions.uploadFiles(BUCKET_NAME, '', []),
storeState: initState,
expectedActions: [
Expand All @@ -230,6 +238,7 @@ describe.skip('s3object actions', () => {
},
{
it: 'uploadFiles: should return expected actions -> test with prefix parameter',
//@ts-expect-error fix this when you are working on it
fn: actions.uploadFiles(BUCKET_NAME, PREFIX, []),
storeState: initState,
expectedActions: [
Expand Down
Loading