Explorar el Código

remove fit, add comments

Adam Shaw hace 4 años
padre
commit
214533db0d
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      gulpfile.js
  2. 1 1
      packages/__tests__/src/event-data/Event.setProp.ts

+ 2 - 2
gulpfile.js

@@ -189,7 +189,7 @@ exports.testsIndexWatch = testsIndexWatch
 
 async function testsIndex() {
   let res = exec2(
-    'find packages*/__tests__/src -mindepth 2 -type f -print0 | ' +
+    'find packages*/__tests__/src -mindepth 2 -type f -print0 | ' + // TODO: filter away non-ts/tsx files
     'xargs -0 grep -E "(fdescribe|fit)\\("'
   )
 
@@ -200,7 +200,7 @@ async function testsIndex() {
   let files
 
   if (!res.success) { // means there were no files that matched
-    let { stdout } = exec2('find packages*/__tests__/src -mindepth 2 -type f')
+    let { stdout } = exec2('find packages*/__tests__/src -mindepth 2 -type f') // TODO: filter away non-ts/tsx files
     files = stdout.trim()
     files = !files ? [] : files.split('\n')
     files = uniqStrs(files)

+ 1 - 1
packages/__tests__/src/event-data/Event.setProp.ts

@@ -1,6 +1,6 @@
 
 describe('Event::setProps', () => {
-  fit('allows setting id', () => {
+  it('allows setting id', () => {
     const calendar = initCalendar({
       events: [
         { id: '123', start: '2021-01-01' }