-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix-iabtcf-es-lib' into perf/#406
- Loading branch information
Showing
23 changed files
with
1,962 additions
and
13,607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ concurrency: | |
|
||
jobs: | ||
build-and-test: | ||
|
||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// eslint-disable-next-line max-len | ||
/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars, no-unused-vars, @typescript-eslint/no-var-requires */ | ||
interface Window { | ||
__tcfapi: ( | ||
command: any, | ||
version: any, | ||
callback: (...params: any) => void, | ||
...param: any | ||
) => void; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import {XMLHttpTestTools} from '@iabtechlabtcf/testing'; | ||
import {GVL} from "@iabtechlabtcf/core"; | ||
import {CmpApiModel} from "../src/index.js"; | ||
|
||
GVL.baseUrl = 'http://sweetcmp.mgr.consensu.org'; | ||
/** | ||
* MochaHooks. | ||
* This object specifies hooks that must run before or after every test in every file. | ||
* https://mochajs.org/#root-hook-plugins | ||
*/ | ||
export const mochaHooks = { | ||
beforeEach(done) { | ||
CmpApiModel.reset(); | ||
XMLHttpTestTools.beforeEach(); | ||
GVL.emptyCache(); | ||
|
||
done(); | ||
}, | ||
}; |
Oops, something went wrong.