Skip to content

Commit

Permalink
Merge pull request #5412 from owncloud/moveTests
Browse files Browse the repository at this point in the history
[unit-tests-only] move typescript tests to unit folder
  • Loading branch information
kulmann authored Jul 8, 2021
2 parents 9dc5d5e + bdac77f commit 229b8cb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Cache from './cache'
import Cache from '../../../src/cache/cache'

const newCache = <T>(vs: T[], ttl?: number, capacity?: number): Cache<number, T> => {
const cache = new Cache<number, T>({ ttl, capacity })
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { HttpClient } from './client'
import { HttpClient } from '../../../src/http'
import mockAxios from 'jest-mock-axios'

beforeEach(mockAxios.reset)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VisibilityObserver } from './visibility'
import { VisibilityObserver } from '../../../src/observer'

let callback
let mockIntersectionObserver
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { encodePath } from './encodePath'
import { encodePath } from '../../../src/utils'

describe('encodePath', () => {
it('is empty if input is empty', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { objectKeys } from './objectKeys'
import { objectKeys } from '../../../src/utils'

describe('objectKeys', () => {
it('should return the correct keys', () => {
Expand Down

0 comments on commit 229b8cb

Please sign in to comment.