feat: confilict

This commit is contained in:
DiamondThree
2023-01-09 18:50:37 +08:00
17 changed files with 151 additions and 724 deletions

View File

@@ -1,7 +1,7 @@
import { describe, test, expect } from 'vitest';
import { test, expect } from '@playwright/test';
import { printer } from './../printer';
const chalk = require('chalk');
describe('printer', () => {
test.describe('printer', () => {
test('test debug', () => {
expect(printer.debug('test debug')).toBe(
chalk.green`debug` + chalk.white(' - test debug')

View File

@@ -1,7 +1,7 @@
import { describe, test, expect } from 'vitest';
import { test, expect } from '@playwright/test';
import { isMobile } from '../get-is-mobile';
describe('get-is-mobile', () => {
test.describe('get-is-mobile', () => {
test('get-is-mobile', () => {
expect(
isMobile(