Revert "rename framework->library"
Some checks failed
Playwright Tests / test (push) Has been cancelled
Some checks failed
Playwright Tests / test (push) Has been cancelled
This reverts commit 13c76cf3e5c403cad23088fb413fcff6167f9bee.
This commit is contained in:
parent
9f4df427df
commit
08a9797364
2
.github/workflows/playwright.yml
vendored
2
.github/workflows/playwright.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
- name: compile and test!
|
- name: compile and test!
|
||||||
run: |
|
run: |
|
||||||
export XDG_CONFIG_HOME=$HOME/.config
|
export XDG_CONFIG_HOME=$HOME/.config
|
||||||
yarn workspace obsidian-testing-library run tsc
|
yarn workspace obsidian-testing-framework run tsc
|
||||||
yarn workspace obsidian-sample-plugin run test
|
yarn workspace obsidian-sample-plugin run test
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: ${{ !cancelled() }}
|
if: ${{ !cancelled() }}
|
||||||
|
BIN
.yarn/install-state.gz
vendored
BIN
.yarn/install-state.gz
vendored
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian-testing-library-parent",
|
"name": "obsidian-testing-framework-parent",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "yarn@4.5.1",
|
"packageManager": "yarn@4.5.1",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
tsconfig.json
|
|
||||||
src/**/*
|
|
||||||
typings/**/*
|
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian-testing-library",
|
"name": "obsidian-testing-framework",
|
||||||
"packageManager": "yarn@4.5.1",
|
"packageManager": "yarn@4.5.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@codemirror/language": "https://github.com/lishid/cm-language",
|
"@codemirror/language": "https://github.com/lishid/cm-language",
|
||||||
@ -39,7 +39,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"lint": "tslint -c tslint.json src/**/*.ts",
|
"lint": "tslint -c tslint.json src/**/*.ts",
|
||||||
"prepublish": "rm README.md && cp ../../README.md . && rimraf lib && yarn build"
|
"prepare": "rm README.md && cp ../../README.md . && rimraf lib && npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/tmp": "^0",
|
"@types/tmp": "^0",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { expect } from '@playwright/test';
|
import { expect } from '@playwright/test';
|
||||||
import {test} from "obsidian-testing-library"
|
import {test} from "obsidian-testing-framework"
|
||||||
import {TFile} from "obsidian";
|
import {TFile} from "obsidian";
|
||||||
import {assertLineEquals, doWithApp, readFile} from "obsidian-testing-library/utils";
|
import {assertLineEquals, doWithApp, readFile} from "obsidian-testing-framework/utils";
|
||||||
test('something', async ({ page }) => {
|
test('something', async ({ page }) => {
|
||||||
console.log(page.url());
|
console.log(page.url());
|
||||||
expect(/obsidian\.md/i.test(page.url())).toBeTruthy()
|
expect(/obsidian\.md/i.test(page.url())).toBeTruthy()
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"obsidian-testing-library": "workspace:^"
|
"obsidian-testing-framework": "workspace:^"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@playwright/test": "^1.48.1",
|
"@playwright/test": "^1.48.1",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { defineConfig, devices } from '@playwright/test';
|
import { defineConfig, devices } from '@playwright/test';
|
||||||
import {ObsidianTestFixtures} from "obsidian-testing-library/fixture";
|
import {ObsidianTestFixtures} from "obsidian-testing-framework/fixture";
|
||||||
import os from "os"
|
import os from "os"
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
|
10
yarn.lock
10
yarn.lock
@ -2487,7 +2487,7 @@ __metadata:
|
|||||||
builtin-modules: "npm:3.3.0"
|
builtin-modules: "npm:3.3.0"
|
||||||
esbuild: "npm:0.17.3"
|
esbuild: "npm:0.17.3"
|
||||||
obsidian: "npm:latest"
|
obsidian: "npm:latest"
|
||||||
obsidian-testing-library: "workspace:^"
|
obsidian-testing-framework: "workspace:^"
|
||||||
playwright: "npm:^1.48.1"
|
playwright: "npm:^1.48.1"
|
||||||
tslib: "npm:2.4.0"
|
tslib: "npm:2.4.0"
|
||||||
typescript: "npm:4.7.4"
|
typescript: "npm:4.7.4"
|
||||||
@ -2496,15 +2496,15 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"obsidian-testing-library-parent@workspace:.":
|
"obsidian-testing-framework-parent@workspace:.":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "obsidian-testing-library-parent@workspace:."
|
resolution: "obsidian-testing-framework-parent@workspace:."
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"obsidian-testing-library@workspace:^, obsidian-testing-library@workspace:packages/obsidian-testing-framework":
|
"obsidian-testing-framework@workspace:^, obsidian-testing-framework@workspace:packages/obsidian-testing-framework":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "obsidian-testing-library@workspace:packages/obsidian-testing-framework"
|
resolution: "obsidian-testing-framework@workspace:packages/obsidian-testing-framework"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@codemirror/language": "https://github.com/lishid/cm-language"
|
"@codemirror/language": "https://github.com/lishid/cm-language"
|
||||||
"@codemirror/state": "npm:^6.0.1"
|
"@codemirror/state": "npm:^6.0.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user