Skip to content

Commit

Permalink
Move everything to spec folders
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Feb 26, 2023
1 parent 7400f16 commit 658a3b2
Show file tree
Hide file tree
Showing 21 changed files with 61 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApiEndpoint } from './ApiEndpoint'
import { ApiEndpoint } from '../ApiEndpoint'

describe('ApiEndpoint', () => {
test('checking happy path', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getApiStage } from './getApiStage'
import { getApiStage } from '../getApiStage'

describe('getApiStage', () => {
test('checking happy path', () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/api/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { delay } from './delay'
import { delay } from '../delay'

describe('delay', () => {
test('checking happy path', async () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/delay/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EthAddress } from './EthAddress'
import { EthAddress } from '../EthAddress'

describe('EthAddress', () => {
test('checking happy path', () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/eth-address/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { exists } from './index'
import { exists } from '../index'

const filterableValues = [undefined, null]
const nonfilterableValue = {}
Expand Down
6 changes: 6 additions & 0 deletions packages/exists/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { delay } from '@xylabs/delay'

import { forget, ForgetPromise } from './forget'
import { forget, ForgetPromise } from '../forget'

describe('forget', () => {
beforeAll(() => {
Expand Down
6 changes: 6 additions & 0 deletions packages/forget/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describeIf } from './describeIf'
import { describeIf } from '../describeIf'

describe('describeIf', () => {
describeIf(true)('This block should run', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { itIf } from './itIf'
import { itIf } from '../itIf'

describe('itIf', () => {
itIf(true)('should run', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { testIf } from './testIf'
import { testIf } from '../testIf'

describe('testIf', () => {
testIf(true)('should run', () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/jest-helpers/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Log } from './Log'
import { Log } from '../Log'

describe('Log', () => {
test('checking happy path', () => {
Expand Down
6 changes: 6 additions & 0 deletions packages/log/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fulfilled } from './fulfilled'
import { fulfilled } from '../fulfilled'

const getAllResolvedPromises = () => {
return Promise.allSettled([Promise.resolve('yes')])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fulfilledValues } from './fulfilledValues'
import { fulfilledValues } from '../fulfilledValues'

const getAllResolvedPromises = () => {
return Promise.allSettled([Promise.resolve('yes')])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rejected } from './rejected'
import { rejected } from '../rejected'

const getAllResolvedPromises = () => {
return Promise.allSettled([Promise.resolve('yes')])
Expand Down
6 changes: 6 additions & 0 deletions packages/promise/src/spec/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"extends": "@xylabs/tsconfig-jest"
}

0 comments on commit 658a3b2

Please sign in to comment.