Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.d.ts 5.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. */
  8. import type { Global } from '@jest/types';
  9. import bind from './bind';
  10. declare type Global = Global.Global;
  11. declare const install: (g: Global, table: Global.EachTable, ...data: Global.TemplateData) => {
  12. describe: {
  13. (title: string, suite: Global.EachTestFn<Global.BlockFn>, timeout?: number | undefined): void;
  14. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  15. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  16. };
  17. fdescribe: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  18. fit: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  19. it: {
  20. (title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
  21. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  22. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  23. concurrent: {
  24. (title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
  25. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  26. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  27. };
  28. };
  29. test: {
  30. (title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
  31. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  32. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  33. concurrent: {
  34. (title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
  35. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  36. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  37. };
  38. };
  39. xdescribe: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  40. xit: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  41. xtest: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  42. };
  43. declare const each: {
  44. (table: Global.EachTable, ...data: Global.TemplateData): ReturnType<typeof install>;
  45. withGlobal(g: Global): (table: Global.EachTable, ...data: Global.TemplateData) => {
  46. describe: {
  47. (title: string, suite: Global.EachTestFn<Global.BlockFn>, timeout?: number | undefined): void;
  48. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  49. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  50. };
  51. fdescribe: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  52. fit: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  53. it: {
  54. (title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
  55. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  56. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  57. concurrent: {
  58. (title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
  59. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  60. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  61. };
  62. };
  63. test: {
  64. (title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
  65. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  66. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  67. concurrent: {
  68. (title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
  69. only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  70. skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  71. };
  72. };
  73. xdescribe: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  74. xit: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  75. xtest: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
  76. };
  77. };
  78. export { bind };
  79. export default each;